Skip to content

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

Merged
haacked merged 1 commit intohaacked:mainfrom
RyanONeill1970:main
May 8, 2024
Merged

Fix for client side 'required' validator which allowed whitespace#112
haacked merged 1 commit intohaacked:mainfrom
RyanONeill1970:main

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
@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