mootools/mootools-more — Issue #1090: URI get("query") does not return ?
Author: satazor
Created: 2012-01-17 16:28:53+00:00
State: open

The docs state that the '?' is added for me (I guess this means automatically) but it does not

query - (string) 'foo=bar&something=else' (the ? is added for you)

var test = new URI("http://google.com?teste=1");
console.log(test.get('query'));