Error 500 when trying to open a new PR with an empty CSV file #17224
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
type/bug
Gitea Version
1.15.3
Git Version
2.30.2
Operating System
Docker
How are you running Gitea?
Docker, image
gitea/gitea:1.15.3
Database
PostgreSQL
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
https://gist.github.com/noiaverbale/4c3b1706e54f581c32eb3790fa7f7373
Description
When I click "New Pull Request" button from a branch where an empty csv file has been added to, an error 500 appears.
To reproduce it you just need to:
URLs
Screenshots
The text was updated successfully, but these errors were encountered: