mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
185646723c
* 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.png`
* `GET 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 #17551. Specifically because of this [line](
|
3 years ago | |
---|---|---|
.. | ||
access_log.go | 4 years ago | |
api.go | 3 years ago | |
api_org.go | 3 years ago | |
api_test.go | 3 years ago | |
auth.go | 3 years ago | |
captcha.go | 3 years ago | |
context.go | 3 years ago | |
csrf.go | 3 years ago | |
form.go | 3 years ago | |
org.go | 3 years ago | |
pagination.go | 3 years ago | |
permission.go | 3 years ago | |
private.go | 3 years ago | |
repo.go | 3 years ago | |
response.go | 3 years ago | |
xsrf.go | 4 years ago | |
xsrf_test.go | 4 years ago |