summaryrefslogtreecommitdiffstats
path: root/build/update-locales.sh
diff options
context:
space:
mode:
authorSandeep Bhat <sandyethadka@gmail.com>2023-03-04 19:01:24 +0530
committerGitHub <noreply@github.com>2023-03-04 21:31:24 +0800
commit547c173dabb10ec973ce9af24243072466960d6e (patch)
treeb1be66975780abad654336ee95e6fe1cb550421f /build/update-locales.sh
parent188c8c12c290e131fb342e3203634828652b0af5 (diff)
downloadgitea-547c173dabb10ec973ce9af24243072466960d6e.tar.gz
gitea-547c173dabb10ec973ce9af24243072466960d6e.zip
Support sanitising the URL by removing extra slashes in the URL (#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: zeripath <art27@cantab.net> Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'build/update-locales.sh')
0 files changed, 0 insertions, 0 deletions