Commit 8076d38a authored by James Lopez's avatar James Lopez

added more info on how addressable URI differs from what we use in UrlValidator

parent 58c49966
# AddressableUrlValidator # AddressableUrlValidator
# #
# Custom validator for URLs. This is a stricter version of UrlValidator. # Custom validator for URLs. This is a stricter version of UrlValidator - it also checks
# for using the right protocol, but it actually parses the URL checking for any syntax errors.
# The regex is also different from `URI` as we use `Addressable::URI` here.
# #
# By default, only URLs for http, https, ssh, and git protocols will be considered valid. # By default, only URLs for http, https, ssh, and git protocols will be considered valid.
# Provide a `:protocols` option to configure accepted protocols. # Provide a `:protocols` option to configure accepted protocols.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment