-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
base64 validation #1055
Labels
non issue
Issue is not a problem or requires changes
Comments
This was a bug in base64 validation, now fixed. I don't plan on making those rules interact with each other right now. |
It doesn't understand everything. |
Marsup
added a commit
that referenced
this issue
Dec 5, 2016
Marsup
added
non issue
Issue is not a problem or requires changes
and removed
bug
Bug or defect
labels
Dec 5, 2016
I reverted the patch as the previous regexp wasn't that bad after all, password is a valid base64 string, and it's not empty. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Context
What are you trying to achieve or the steps to reproduce ?
Which result you had ?
Im sending this payload and i get response done!
{
"username": "test@test.com",
"password": "password"
}
What did you expect ?
Is there an option to validate length of decoded string? Currently password decoding returns empty string, buy Joi doesn't see problem. Maybe it should check length after decoding string? Is there such an option?
Indrek
The text was updated successfully, but these errors were encountered: