I am sending sensitive data encrypted when the user clicks the onclick event. This encrypted data at times contains a plus sign (+
) When I retrieve this request variable on the server, the +
is getting converted to a whitespace. This causes the decryption to fail.
Example:
xrUxHtYpO2Yu3Z31ve+KNA==
gets converted to:
xrUxHtYpO2Yu3Z31ve KNA==
Is there a way escape the string so it is sent as is?