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

isStrongPassword function is not considering \ as a Special Character #2261

Open
dasguptarupak opened this issue Aug 9, 2023 · 0 comments
Open
Labels

Comments

@dasguptarupak
Copy link

Description
isStrongPassword function is not considering \ as a Special Character

Examples

validator.isStrongPassword(value, { minLength: 8, minLowercase: 1, minUppercase: 1, minNumbers: 1, minSymbols: 1 })

Input & Output

Input - Global123!, Output - true
Input - Global@/123, Output - true
Input - Global/123, Output - false

Additional context
Validator.js version: 13.11.0
Node.js version: v18.16.1
OS platform: Windows 11

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

No branches or pull requests

1 participant