jquery-querystring
jquery-querystring copied to clipboard
parse broken on URLs with no '?'
If you have a URL with no query string and no '?' and try to parse it (common use case being a relative path URL) the original URL is included in the resulting querystring object as a param name with no value.
Here is a JsBin demonstrating the problem. Note that the anchor tag with the relative path href gets a bogus querystring added from the library: /foo?/foo=&name=value.
I've put together a patch with additional tests and will be sending a PR shortly.