-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
url validation rule doesnt work #156
Comments
@logaretm We can force the http(s)/ftp:: protocol with the |
@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. |
Versions:
Description:
url validation rules doesnt seem to work correctly
Steps To Reproduce:
kindly refer to jsfiddle
thx
The text was updated successfully, but these errors were encountered: