I've noticed what I think is a bug in SugarCRM CE, I would like to know if there is an easy way to fix it.

If you create a Contact from the web interface, you can create an email that will contain a + sign, something like this:

hello+world@gmail.com

This is normal, the + sign is a valid character to have in an email address.

Now if I create a contact using PHP via REST, and specify the same email address in the field "email1".
The contact will be create but the email will not be saved.
If I remove the + sign, it works and the email address is saved.

I guess this is because the validator from REST is not the same as the one online.

Is there an easy fix for this ? Otherwise I'm going to have to remove all the + signs but that might frustrate some users.