Skip to content

Generated installation URL for PyPI repository packages has an escaping problem #23980

Closed
@Gunzinger

Description

@Gunzinger

Description

Hi dear gitea maintainers!

First off: Thank you for the great software, I am enjoying it a lot and it saves a lot of resources on my VPS compared to GitLab which I was using previously!

Now to the bug:
There seems to be a problem in the URL escaping of the gitea-origin-url templates, in which the space is url-escaped to %20 when it should remain a space.

Reproduction of the bug in the demo site: https://try.gitea.io/test-pypi-url-bug/-/packages/pypi/pypi-url-test/0.1.0

Might have been introduced in this commit: e7ef94e

Screenshots

demo instance screenshot

Gitea Version

1.19.0 (official docker container)

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Windows 10

Browser Version

Firefox 111.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions