Branch name escape problem #11219

Closed
opened 2025-11-02 09:31:09 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @yp05327 on GitHub (Jul 13, 2023).

Description

Related: #25830

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

build

Database

None

Originally created by @yp05327 on GitHub (Jul 13, 2023). ### Description Related: #25830 - https://github.com/go-gitea/gitea/pull/25812#discussion_r1262140690 This is the right link: https://try.gitea.io/yp05327/testrepo/src/branch/test%2311 - https://github.com/go-gitea/gitea/issues/25830#issuecomment-1634050628 ### Gitea Version latest ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? build ### Database None
GiteaMirror added the type/bug label 2025-11-02 09:31:09 -06:00
Author
Owner

@puni9869 commented on GitHub (Jul 13, 2023):

Thanks for summarizing it in short.
You are correct about Github.

@puni9869 commented on GitHub (Jul 13, 2023): Thanks for summarizing it in short. You are correct about Github.
Author
Owner

@silverwind commented on GitHub (Jul 14, 2023):

I don't get it. What is wrong on https://try.gitea.io/yp05327/testrepo/src/branch/test%2311?

@silverwind commented on GitHub (Jul 14, 2023): I don't get it. What is wrong on https://try.gitea.io/yp05327/testrepo/src/branch/test%2311?
Author
Owner

@puni9869 commented on GitHub (Jul 14, 2023):

Thats the correct url for test#11 branch. Nothing wrong with it.

@puni9869 commented on GitHub (Jul 14, 2023): Thats the correct url for `test#11` branch. Nothing wrong with it.
Author
Owner

@yp05327 commented on GitHub (Jul 20, 2023):

I don't get it. What is wrong on https://try.gitea.io/yp05327/testrepo/src/branch/test%2311?

After access this link, you can select this branch again in the selector.
Then the url will become https://try.gitea.io/yp05327/testrepo/src/branch/test#11

@yp05327 commented on GitHub (Jul 20, 2023): > I don't get it. What is wrong on https://try.gitea.io/yp05327/testrepo/src/branch/test%2311? After access this link, you can select this branch again in the selector. Then the url will become https://try.gitea.io/yp05327/testrepo/src/branch/test#11
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11219