URI.query(true) throws if the url is clean #6

nicogranelli opened this Issue Dec 30, 2011 · 1 comment


None yet

2 participants


for example

console.log(URI("http://google.com?s=q").search(true)); //OK
console.log(URI("http://google.com?s=").search(true)); //OK
console.log(URI("http://google.com?s").search(true)); //OK
console.log(URI("http://google.com").search(true)); //Throws

I'm sure is something simple to fix, but I don't have time right now. I can fix it later, but I wanted to submit this before I forgot about it

BTW: Really cool library :)


Fixed in 1.3.0

@rodneyrehm rodneyrehm closed this Dec 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment