Logo
Explore Help
Sign In
tdsds.com/gitea
Watch 1
Star 1
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-12-07 13:28:25 +00:00
Code Releases Activity
Files
a2a9b0f977461e3132bb78a276f47e3c0b42a8c4
gitea/routers
T
History
GiteabotGitHubSandeep BhatzeripathJason SongLunny Xiaodelvh
a2a9b0f977 Support sanitising the URL by removing extra slashes in the URL (#21333) (#23300)
Backport #21333

Changes in this PR :

Strips incoming request URL of additional slashes (/). For example an
input like

`https://git.data.coop//halfd/new-website.git` is translated to
`https://git.data.coop/halfd/new-website.git`

Fixes https://github.com/go-gitea/gitea/issues/20462

Fix #23242

Co-authored-by: Sandeep Bhat <sandyethadka@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <leon@kske.dev>
2023-03-05 02:14:12 -05:00
..
api
Avoid panic caused by broken payload when creating commit status (#23216) (#23294)
2023-03-04 14:23:49 +00:00
common
Support sanitising the URL by removing extra slashes in the URL (#21333) (#23300)
2023-03-05 02:14:12 -05:00
install
Refactor the setting to make unit test easier (#22405)
2023-02-20 00:12:01 +08:00
private
Refactor the setting to make unit test easier (#22405)
2023-02-20 00:12:01 +08:00
utils
Implement FSFE REUSE for golang files (#21840)
2022-11-27 18:20:29 +00:00
web
Avoid panic caused by broken payload when creating commit status (#23216) (#23294)
2023-03-04 14:23:49 +00:00
init.go
Avoid warning for system setting when start up (#23054) (#23116)
2023-02-24 16:46:11 -05:00
Powered by Gitea Version: 1.27.0 Page: 25ms Template repo/view: 11ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API