OSDN Git Service

Better check on the validity of emails
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Thu, 16 Jan 2014 11:14:47 +0000 (12:14 +0100)
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Thu, 16 Jan 2014 11:14:47 +0000 (12:14 +0100)
commit05e4af5b4c7709ab08194d109ddec8e19f44758d
treec052438b48fbc6f6c8e75c6f79bf41b2d8397596
parentdba982403b7b894d2096ea61b89a247060eefe57
Better check on the validity of emails

At this moment it was possible to enter emails like:
mailto:info@example.com. This was causing some issue in the frontend,
since those links became html mailto: links.

Fixes: #3516
Gemfile
Gemfile.lock
app/models/user.rb
spec/models/user_spec.rb