Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does return value of querystring() contain the ? #3

Open
bpanulla opened this issue Jun 27, 2011 · 1 comment
Open

Why does return value of querystring() contain the ? #3

bpanulla opened this issue Jun 27, 2011 · 1 comment

Comments

@bpanulla
Copy link

More of a question than an issue, but why not strip off the question mark character from the value returned by querystring()? I always saw that as more of a delimiter than part of the value. I'll need to strip it off in my code, but is there a reason why the library method couldn't (or more likely shouldn't) do it?

@webr3
Copy link
Owner

webr3 commented Jun 27, 2011

bpanulla wrote:

More of a question than an issue, but why not strip off the question mark character from the value returned by querystring()? I always saw that as more of a delimiter than part of the value. I'll need to strip it off in my code, but is there a reason why the library method couldn't do it?

http://example.org/foo#

how else would you know there was an empty fragment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants