You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the report. Fixed in #25873. To get rid of the 500 error you have to delete the package. Visit the package url + /settings to delete it or use the admin panel.
Description
When trying to mirror some old packages into a maven repository, we ran into an error when trying to upload ISO-8859-1-encoded pom XML files:
While this will probably not happen with modern Maven versions, one might run into this problem when trying to cache/host old artifacts inside Gitea.
To Reproduce
mvn deploy:deploy-file -Dfile=commons-jxpath-1.3.jar -DrepositoryId=gitea -Durl=https://try.gitea.io/api/packages/encoding/maven -DpomFile=commons-jxpath-1.3.pom
500 Internal Server Error
(https://gist.github.com/TobiX/08ba809cb6d27df8aa5e85d0f3633b01)Gitea Version
1.19.4
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
2.39.2
Operating System
Debian 12 (bookworm)
How are you running Gitea?
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: