You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
The web project has a cookie and it contain '%' , i use the cookie in server .but the web show me the bug.
i try to delete this cookie,and it work well.
here is the log.
URIError: URI malformed
at decodeURIComponent (native)
at af.h.cookies (http://open.xxx.com/common/js/lib/angular.min.js:42:362)
at t (http://open.xxx.com/common/js/lib/angular.min.js:78:442)
at f (http://open.xxx.com/common/js/lib/angular.min.js:76:308)
at http://open.xxx.com/common/js/lib/angular.min.js:106:349
at k.$eval (http://open.xxx.com/common/js/lib/angular.min.js:120:444)
at k.$digest (http://open.xxx.com/common/js/lib/angular.min.js:118:9)
at k.$apply (http://open.xxx.com/common/js/lib/angular.min.js:121:264)
at http://open.xxx.com/common/js/lib/angular.min.js:18:101
at Object.e [as invoke] (http://open.xxx.com/common/js/lib/angular.min.js:36:215)
It seems that the cookie contain '%' will cause error,is it an bug?
[ AngularJS v1.3.0-rc.3 ]
update:
it seems angularjs use 'decodeURIComponent' to decode parameter ,but 'escape' encode parameter cannot be decode,and will cause bug. #6836 #6326