[OSM-dev] OSM registration thinks a valid mail is not valid

Shaun McDonald shaun at shaunmcdonald.me.uk
Sun Feb 8 22:20:35 GMT 2009


On 8 Feb 2009, at 20:38, Eddy Petrișor wrote:

> Hello,
>
> I wsa trying today to make an dedicated account for a bot that would  
> do
> some semi-automated changes for the Romanian map and I was unable to  
> do
> so because it seems that the signup process has some broken  
> validations:
>
>
> It refused to accept the following logins:
>
> ro_bot_romania
> RoBotRomania
> Ro-Bot
>
>
>
> What is worse is that it refused an email address containing the "+"
> character (ignore the spaces, I added them now):
>
> eddy.petrisor+osmbot @ gmail.com
>
>
> That is a valid mail address, so would somebody, please change it so  
> it
> accepts "+" as a valid character.
>

The validations that are run on creating and updating users e-mail  
addresses are at:
http://trac.openstreetmap.org/browser/sites/rails_port_branches/api06/app/models/user.rb#L21

Shaun





More information about the dev mailing list