perfectline / validates_url

URL Validation for Rails
MIT License
583 stars 113 forks source link

Fix for invalid mailto urls #132

Closed benjamin-ltr closed 2 years ago

benjamin-ltr commented 2 years ago

A user submitted an invalid mailto url with a missing local-part. It ended up with the following error:

URI::InvalidComponentError
unrecognised opaque part for mailtoURL: @example.com
benjamin-ltr commented 2 years ago

Thanks for approving my PR so fast ! Is it possible to release a new version when you have time ?