I have created a RestResource API class with GET method. It is supposed to accept the email passed as an input via the query string, and perfom logic based on that email received.
It all worked fine until I received an input that consists of special character '+' in the email.
Email passed as query string : test@[email protected] Email showing in debug logs : test@test [email protected]
And because of that the entire flow breaks down and the desired result is not obtained.
Can anyone please suggest what could be done to resolve this issue?
[email protected]is not available means that's one less piece of information an attacker needs to guess (and is a driving reason behind why login pages tend not to tell you that the email is wrong, but rather that "the email or password is wrong")