diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-01-16 12:14:47 +0100 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-01-16 12:14:47 +0100 |
commit | 05e4af5b4c7709ab08194d109ddec8e19f44758d (patch) | |
tree | c052438b48fbc6f6c8e75c6f79bf41b2d8397596 /Gemfile | |
parent | dba982403b7b894d2096ea61b89a247060eefe57 (diff) | |
download | gitlab-ce-05e4af5b4c7709ab08194d109ddec8e19f44758d.tar.gz |
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
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -52,6 +52,9 @@ gem "grape", "~> 0.6.1" gem "grape-entity", "~> 0.3.0" gem 'rack-cors', require: 'rack/cors' +# Email validation +gem "email_validator", "~> 1.4.0", :require => 'email_validator/strict' + # Format dates and times # based on human-friendly examples gem "stamp" |