franckverrot / activevalidators

Collection of ActiveModel/ActiveRecord validators
https://rubygems.org/gems/activevalidators
MIT License
306 stars 49 forks source link

Validate URLs using Addressable gem to allow non-ascii characters (closes #111) #112

Open goulvench opened 2 years ago

goulvench commented 2 years ago

Warning: this allows a lot more URLs. There is not valid? method on Addressable::URI, because many strings can be parsed and considered valid. See https://github.com/twingly/twingly-url/issues/74#issuecomment-226334749 This change requires a minor version bump, along with a bundle install warning I think.