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

Add toUpperCase/toLowerCase sanitizers to validation chain #581

Closed
dxmaxwell opened this issue May 17, 2018 · 3 comments
Closed

Add toUpperCase/toLowerCase sanitizers to validation chain #581

dxmaxwell opened this issue May 17, 2018 · 3 comments

Comments

@dxmaxwell
Copy link

I am attempting to simplify my existing validation logic by using this library. However, I soon realized that my code uses trim() and toUpperCase() in many places, but express-validator does not have a sanitizer that corresponds to toUpperCase().

For now I have used a custom sanitizer, but this seems like something that would be generally useful.

@liqiang372
Copy link
Member

liqiang372 commented Jul 15, 2020

What's the status of this issue? It's been open for over 2 years. I can help if it's not been taken care of yet, @gustavohenke.

@chinesedfan
Copy link
Contributor

Closed by #899.

@gustavohenke
Copy link
Member

Out in v6.7.0!

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

No branches or pull requests

4 participants