zalando-stups/hutmann

Request body is parsed before authentication

Closed this issue · 1 comments

Scenario:
I had an issue when using multipart form data as request body, The content of the files were streamed from a client which were processed in application and stored in database.

The problem is even if the request was unauthorized, request body is parsed completely which in turn modifies database state and response code still is 401(Unauthorized)

Released with 2.5.3.