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?
There are too many people stepping down, so let’s change to the formal method.
encodeURIComponent or base64 can be used.
encodeURIComponent
encodeURI() function will not escape: ;/?:@&=+$,#
but encodeURIComponent can
Base64 transfer down