Skip to content
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

HTML5 validation for URL #32

Closed
nicolas-zozol opened this issue Aug 6, 2012 · 4 comments
Closed

HTML5 validation for URL #32

nicolas-zozol opened this issue Aug 6, 2012 · 4 comments
Labels

Comments

@nicolas-zozol
Copy link
Contributor

The default validation for URL in chrome accepts "s:a" but refuses "www.google.com".
Should we implement a more common pattern or keep the default navigator pattern ?

@ericdescargues
Copy link
Member

What is the behavior on the other browsers ?

@florentgarin
Copy link
Member

Could you be more precise ?
What do you mean by "chrome", would you mean the web client ?
I'm not also sure to understand how the validation currently behave : do you mean the system enforce the use of a scheme in the url ?

@nicolas-zozol
Copy link
Contributor Author

when using <input type='url'> the browser accepts some url such as 's:a' because 's' is understood as a protocol and 'a' as an adress.
but with www.google.com, the protocol is not mentionned.
The behaviour is the same with Firefox.

@florentgarin
Copy link
Member

Despite its constraints we'll go with

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants