I have an application that stores information about a person onto a database, but when I try to use the URL to GET
a user based on their email address users with a +
in their email cannot be found.
Example URL that returns person:
https://www.someURL.com/api/people/johnsmith@someemail.com
Example URL that does not return person (returns null):
https://www.someURL.com/api/people/jane+doe@someemail.com
Both emails are in the database as written in the URL so it does not appear to be a typo issue, and I am using postman to test the GET
method. Why am I not able to find them, and how can I make it so that they can be found even with the +
character?
When I search with id I am able to find the person so I know the person exists.