| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Replace decodeURIComponent with tryDecodeURIComponent to prevent throwing "URIError: malformed URI sequence". https://github.com/angular/angular.js/blob/master/src/Angular.js#L1275
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.
|
Sorry, something went wrong.
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.
|
Sorry, something went wrong.
|
I signed it! 2016-02-10 15:34 GMT+01:00 googlebot notifications@github.com:
|
Sorry, something went wrong.
|
CLAs look good, thanks! |
Sorry, something went wrong.
|
CLAs look good, thanks! |
Sorry, something went wrong.
|
I think this will break the contract that $location.path() or $location.hash() return a string. There should also be some tests, verifying the new behavior and guarding against regressions. |
Sorry, something went wrong.
|
Yes, try to request a page with a #% hash in the URL. Example: Maybe in this example, if decodeURIComponent throws an error, we should catch it and encode hash/uri to keep wrong characters (ex. single %) as encoded UTF? |
Sorry, something went wrong.
|
Aha, I see the error. TBH, trying to guess and fix unencoded UTF characters is a business I'd rather not be into :) @petebacondarwin, wdyt ? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Replace decodeURIComponent with tryDecodeURIComponent to prevent throwing "URIError: malformed URI sequence".
https://github.com/angular/angular.js/blob/master/src/Angular.js#L1275