   
|
547c173dab
|
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 <[email protected]>
Co-authored-by: Jason Song <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
|
2023-03-04 21:31:24 +08:00 |
|