Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OAuth parsing failures should be failures, not crashes. #147

Merged
merged 1 commit into from
Jul 20, 2018

Conversation

zerebubuth
Copy link
Owner

Don't propagate exceptions during OAuth header parsing and validation. Instead, treat it as a validation failure.

Fixes #146.

@mmd-osm, could you try out this branch and let me know if it no longer crashes, please?

Don't propagate exceptions during OAuth header parsing and validation. Instead, treat it as a validation failure.

Fixes #146.
@mmd-osm
Copy link
Collaborator

mmd-osm commented May 21, 2018

Retest looks good here, payload

<dummy id='1'/>

now triggers HTTP/400 Bad OAuth request when using the broken OAuth Header.

I'll also create a follow up issue for osm-auth.

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

Successfully merging this pull request may close these issues.

2 participants