summaryrefslogtreecommitdiffstats
path: root/modules/auth
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-03-05 02:14:12 -0500
committerGitHub <noreply@github.com>2023-03-05 02:14:12 -0500
commita2a9b0f977461e3132bb78a276f47e3c0b42a8c4 (patch)
treece276cc1e3eb0aaea0318a35d170d8840e38dc42 /modules/auth
parentff96f804b64d9179d01b58c2863ce11cdd532fb9 (diff)
downloadgitea-a2a9b0f977461e3132bb78a276f47e3c0b42a8c4.tar.gz
gitea-a2a9b0f977461e3132bb78a276f47e3c0b42a8c4.zip
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>
Diffstat (limited to 'modules/auth')
0 files changed, 0 insertions, 0 deletions