websanova / js-url

url() - A simple, lightweight url parser for JavaScript
http://www.websanova.com
MIT License
1.93k stars 204 forks source link

Decode location.href to get consistent results on Firefox #31

Closed peterpoe closed 9 years ago

peterpoe commented 10 years ago

window.location.toString() in Firefox returns the encoded version of the url. Example:

Firefox: http://www.example.com/?foo%5B1%5D=bar Other browsers: http://www.example.com/?foo[1]=bar

websanova commented 9 years ago

Already handled in another issue.