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
then the URL in the address bar becomes /a?b=%252Fc instead of /a?b=%2Fc.
this.$route.query.b will be '%2Fc' instead of '/c'.
It seems that each query parameter is being encodeURIComponent-ed, combined into the full path, then the full path is encodeURI-ed. Shouldn't the URL be encodeURI-ed before the query string is appended?
The text was updated successfully, but these errors were encountered:
If I perform this:
then the URL in the address bar becomes
/a?b=%252Fc
instead of/a?b=%2Fc
.this.$route.query.b
will be'%2Fc'
instead of'/c'
.It seems that each query parameter is being
encodeURIComponent
-ed, combined into the full path, then the full path isencodeURI
-ed. Shouldn't the URL beencodeURI
-ed before the query string is appended?The text was updated successfully, but these errors were encountered: