Skip to content

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

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

haacked merged 1 commit into
haacked:mainfrom
RyanONeill1970:main

Conversation

@RyanONeill1970

Copy link
Copy Markdown
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

@haacked haacked left a comment

Copy link
Copy Markdown
Owner

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

haacked commented May 8, 2024

Copy link
Copy Markdown
Owner

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