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

JSON validation on POST /forgot_password/{tokenValue} is incorrect #82

Closed
CodeCasterNL opened this issue Oct 7, 2021 · 0 comments · Fixed by #98
Closed

JSON validation on POST /forgot_password/{tokenValue} is incorrect #82

CodeCasterNL opened this issue Oct 7, 2021 · 0 comments · Fixed by #98
Assignees
Labels
Milestone

Comments

@CodeCasterNL
Copy link

CodeCasterNL commented Oct 7, 2021

JSON validation on POST /forgot_password/{tokenValue} is incorrect. It doesn't skip extraneous members and incorrectly reports the missing password-field.

To Reproduce
POST these bodies to /forgot_password/{tokenValue}.


Example body:

{
	"ignoreMe": "foo",
	"password": "bar"
}

Response:

Parameter "password" is missing.

No, it isn't.


Example body:

{
	"ignoreMe": false,
	"password": "foo"
}

Response:

Parameter "ignoreMe" is missing.

No, it isn't.

@CodeCasterNL CodeCasterNL changed the title JSON validation on POST /forgot_password/{tokenvalue} is incorrect JSON validation on POST /forgot_password/{tokenValue} is incorrect Oct 7, 2021
@vincentchalamon vincentchalamon added bug unconfirmed Issues that need investigations labels Jul 27, 2022
@vincentchalamon vincentchalamon modified the milestone: 1.4 Jul 27, 2022
@vincentchalamon vincentchalamon added bug and removed bug unconfirmed Issues that need investigations labels Jul 27, 2022
@vincentchalamon vincentchalamon added this to the 1.4 milestone Jul 28, 2022
@vincentchalamon vincentchalamon self-assigned this Jul 28, 2022
@vincentchalamon vincentchalamon linked a pull request Jul 28, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants