-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Internal Server error returned when doing a POST at /v1/user/repos with invalid data #19399
Labels
Comments
Gusted
pushed a commit
to Gusted/gitea
that referenced
this issue
Apr 20, 2022
- Don't return Internal Server error if the user provide incorrect label template, instead return UnprocessableEntity. - Resolves go-gitea#19399
Gusted
pushed a commit
to Gusted/gitea
that referenced
this issue
Apr 20, 2022
- Backport go-gitea#19445 - Don't return Internal Server error if the user provide incorrect label template, instead return UnprocessableEntity. - Resolves go-gitea#19399
6543
pushed a commit
that referenced
this issue
Apr 22, 2022
- Don't return Internal Server error if the user provide incorrect label template, instead return UnprocessableEntity. - Resolves #19399
AbdulrhmnGhanem
pushed a commit
to kitspace/gitea
that referenced
this issue
Aug 24, 2022
- Don't return Internal Server error if the user provide incorrect label template, instead return UnprocessableEntity. - Resolves go-gitea#19399
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
While doing some fuzzing using https://github.com/Endava/cats I discovered an issue for the
/v1/user/repos
endpoint. Doing a POST with invalid data results in a 500, rather that something more meaningful.You can reproduce the issue using (just replace $token with your own token):
cats replay Test245.json
Test245.json.zip
Or using the following payload:
Gitea Version
1.17.0+dev-423-g4396d0e7c
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?
Using https://try.gitea.io/.
Database
No response
The text was updated successfully, but these errors were encountered: