Skip to content

Cannot delete branch with # in name #18709

Closed
@jpraet

Description

@jpraet

Gitea Version

1.16.1

Git Version

No response

Operating System

No response

How are you running Gitea?

docker

Database

No response

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Description

After upgrading to Gitea 1.16.1, I can no longer delete branches with a # in the name through the UI (from the branch list view).

In the logs:

2022/02/10 20:14:17 ...s/web/repo/branch.go:105:DeleteBranchPost() [E] DeleteBranch: object does not exist [id: refs/heads/%23test, rel_path: ]

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions