URI
URI copied to clipboard
Why does return value of querystring() contain the ?
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?
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?