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

Fix for client side 'required' validator which allowed whitespace #112

Merged
merged 1 commit into from
May 8, 2024

Conversation

RyanONeill1970
Copy link
Contributor

Fix for client side 'required' validator which allowed whitespace to be submitted in input value. This library is now works the same way as jQuery Unobtrusive validation on which it is based.

Closes #109

…be submitted in input value. This library is now works the same way as jQuery Unobtrusive validation on which it is based.

Closes haacked#109
Copy link
Owner

@haacked haacked left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the contribution!

@haacked haacked merged commit 36a24f1 into haacked:main May 8, 2024
1 check passed
@haacked
Copy link
Owner

haacked commented May 8, 2024

This fix is now published on NPM: https://www.npmjs.com/package/aspnet-client-validation

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

Successfully merging this pull request may close these issues.

Required validator differs from MVC validation in allowing bypass by using spaces in value.
2 participants