Internal Server Error while using Content-Type=multipart/form-data; boundary=cats
on /v1/user/keys
#19698
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/bug
Milestone
Description
Description
While doing some fuzzing using https://github.com/Endava/cats I discovered an issue for the
/v1/user/keys"
endpoint. Doing a POST withmultipart/form-data; boundary=cats
Content-Type
results in a 500, rather that something more meaningful.You can reproduce the issue using (just replace $token with your own token):
cats replay Test1246.json
Test1246.json.zip
Gitea Version
1.17.0+dev-573-ge45738e3c
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Onlinehttps://try.gitea.io/
Database
No response
The text was updated successfully, but these errors were encountered: