SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 186 JavaScript

fix(ngRoute): remove unnecessary call to decodeURIComponent

Since `$location.$$path` is already decoded, doing an extra `decodeURIComponent` is both unnecessary
and can cause problems. Specifically, if the path originally includes an encoded `%` (aka `%25`),
then ngRoute will throw "URIError: URI malformed".

Closes #6326
Closes #6327
J
Jason Miller committed
1b779028fdd339febaa1fff5f3bd4cfcda46cc09
Parent: 49b2a1c
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 7/15/2014, 12:24:40 PM