aboutsummaryrefslogtreecommitdiff
path: root/url.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *.go: Use lowercase error valuesRunxi Yu2025-02-191-2/+2
|
* url.go: ReformatRunxi Yu2025-02-191-1/+1
|
* http: Consistently use redirect_with{out,}_slash, never r.URL.PathRunxi Yu2025-02-191-0/+19
|
* *.go: ReformatRunxi Yu2025-02-151-1/+1
|
* {http_server,url}.go: Fix redirectsRunxi Yu2025-02-151-1/+20
| | | | | | | | | | r.URL.Path contains URL segments already decoded which makes it impossible to distinguish from an encoded %2F and a path separator /. We introduce redirect_with_slash which checks it properly. There is still an occurence of r.URL.Path in the commit handler, but that's going to get a major revamp anyway so I'm not bothering to fix that for now. :/
* *.go: Mass rename files for clarityRunxi Yu2025-02-131-0/+65