The encodeURI() method is currently used in the project, so the encodeURI() function will not escape the following ASCII punctuation marks that have special meanings in URIs.
When the passed parameter value is "Qu", the server gets "Qu", and what it needs to get is 'Qu'. How to solve this problem?
过去多啦不再A梦2017-07-05 10:46:04
There are too many people stepping down, so let’s change to the formal method.
encodeURIComponent or base64 can be used.
漂亮男人2017-07-05 10:46:04
encodeURI() function will not escape: ;/?:@&=+$,#
but encodeURIComponent can