Closed
Description
Description
A version name the length of a SHA1 hash (40 chars) causes an overflow in the version list.
Repro on try.gitea.io: https://try.gitea.io/kw-test/-/packages/generic/package-test/6444144e52f72414b474981ba98f6211f66dbac9
Screenshots
Gitea Version
1.21.2
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
Windows 10
Browser Version
Firefox 120.0.1 (64-Bit)