Skip to content

Long package version name causes overflow #28534

Closed
@kittenswolf

Description

@kittenswolf

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

grafik

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions