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
Showing
... | @@ -52,6 +52,9 @@ gem "grape", "~> 0.6.1" | ... | @@ -52,6 +52,9 @@ gem "grape", "~> 0.6.1" |
gem "grape-entity", "~> 0.3.0" | gem "grape-entity", "~> 0.3.0" | ||
gem 'rack-cors', require: 'rack/cors' | gem 'rack-cors', require: 'rack/cors' | ||
# Email validation | |||
gem "email_validator", "~> 1.4.0", :require => 'email_validator/strict' | |||
# Format dates and times | # Format dates and times | ||
# based on human-friendly examples | # based on human-friendly examples | ||
gem "stamp" | gem "stamp" | ||
... | ... |
Please register or sign in to comment