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

Closed
nicogranelli opened this Issue Dec 30, 2011 · 1 comment

Projects

None yet

2 participants

@nicogranelli

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 :)

@rodneyrehm
Member

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