summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-01-16 12:14:47 +0100
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-01-16 12:14:47 +0100
commit05e4af5b4c7709ab08194d109ddec8e19f44758d (patch)
treec052438b48fbc6f6c8e75c6f79bf41b2d8397596 /Gemfile
parentdba982403b7b894d2096ea61b89a247060eefe57 (diff)
downloadgitlab-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--Gemfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index b9ef6b1f46b..db256ded3b2 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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"