-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionality
Description
Gitea Version
Git Version
No response
Operating System
No response
How are you running Gitea?
Database
No response
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
-
Previously,
GET {username}/{reponame}/raw///file-path(the middle two slashes are blank to get the default branch) when the repo name has uppercase letters, e.g., https://try.gitea.io/AbdulrhmnGhanem/CH330_Hardware, using a lowercase version of the name redirected to the correct URL -
In other words, both
GET https://try.gitea.io/AbdulrhmnGhanem/CH330_Hardware/raw///images/back.pngGET https://try.gitea.io/AbdulrhmnGhanem/ch330_hardware/raw///images/back.png
were redirecting to
GET https://try.gitea.io/AbdulrhmnGhanem/CH330_Hardware/raw/branch/master/images/back.png
This isn't the case after Multiple Escaping Improvements #17551. Specifically because of this line.
Screenshots
No response
Metadata
Metadata
Assignees
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionality