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

Form::URL not validating same as Validators::isUrl #1539

Closed
fidli opened this issue Sep 17, 2015 · 0 comments
Closed

Form::URL not validating same as Validators::isUrl #1539

fidli opened this issue Sep 17, 2015 · 0 comments

Comments

@fidli
Copy link

fidli commented Sep 17, 2015

Problem url: http://prestashop_b.test2.b2bit.cz/
Nette: 2.3.0
PHP: 5.5.12
Javascript netteForms.js: http://nette.github.io/resources/js/netteForms.min.js
or the one included in vendor.

When creating application form and adding rule for text input Form::URL, the problem url noted above does not pass on submitting whereas Validators::isUrl returns true for such url.

Other urls, without "_" pass in both cases just fine.

Excluding netteForms.js lets the problem url pass too, but it has a side effect - no global client-side validation.

Thanks

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

No branches or pull requests

1 participant