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

selfservice: Explicitly whitelist form parser keys #105

Merged
merged 1 commit into from
Nov 4, 2019
Merged

Conversation

aeneasr
Copy link
Member

@aeneasr aeneasr commented Nov 4, 2019

Previously the form parser would try to detect the field type by
asserting types for the whole form. That caused passwords
containing only numbers to fail to unmarshal into a string
value.

This patch resolves that issue by introducing a prefix
option to the BodyParser

Closes #98

Previously the form parser would try to detect the field type by
asserting types for the whole form. That caused passwords
containing only numbers to fail to unmarshal into a string
value.

This patch resolves that issue by introducing a prefix
option to the BodyParser

Closes #98
@aeneasr aeneasr added bug Something is not working. package/selfservice Affects selfservice components labels Nov 4, 2019
@aeneasr aeneasr added this to the v0.0.1 milestone Nov 4, 2019
@aeneasr aeneasr self-assigned this Nov 4, 2019
@aeneasr aeneasr merged commit 28b056e into master Nov 4, 2019
@aeneasr aeneasr deleted the fix-98 branch November 12, 2019 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working. package/selfservice Affects selfservice components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using only numbers as password during sign up leads to error
1 participant