url validation rules doesnt seem to work correctly
kindly refer to jsfiddle
thx
@logaretm We can force the http(s)/ftp:: protocol with the require_protocol: true option, but not sure why some of the other urls are not passing. Ideas?
@BrandonSurowiec It happens because of the whitelist, seems like I've made a mistake while setting the default.
We can enforce the protocol or provide a parameter that does so, depending on the user needs, what do you think?
shouldnt url validation require protocol by default or can we make some options to require protocol or not?
I guess we can require the protocol and provide an option to make it optional.
@BrandonSurowiec what do you think?
I think we should always require the protocol like Laravel does. We could make another rule called 'domain' or for now leave it up to the developer to customize with their own custom rule.
Most helpful comment
I think we should always require the protocol like Laravel does. We could make another rule called 'domain' or for now leave it up to the developer to customize with their own custom rule.