Skip to content

A Curious Question (actually questions) #4

@oldlavender

Description

@oldlavender

Hello, @llonchj !!

I apologize if I'm asking something stupid, but... I was reading your code. I don't know YOURLS' code. But is there anything I'm not getting?

I mean, it shouldn't be simply checking whether a QUERY_STRING exist or not, and append it to the URL if it doesn't? What would go wrong if it'd be like this?

In addition, I have two more questions about the plugin behavior: (1) does it parse the url regardless of the formation? For instance, if I have a non-valued keyword (http://you.rl/something.php?keyword) or an array (http://you.rl/something.php?key[1]=value1&key[2]=value2), would it work? (2) I'm asking this because the port stuff worried me... Would the parser function you've used be 'buggy', that you had to do something special to deal with the port?

Thanks,
@thbmatrix

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions