The default edit profile option in Frappe gives 404 error

If the user’s mail id includes ‘+’ symbol the edit profile gives a 404 error. As there is no other mail validation is taking place