gitea/modules/httplib
wxiaoguang 84cbb6c4d2
Fix duplicate sub-path for avatars (#31365)
Fix #31361, and add tests

And this PR introduces an undocumented & debug-purpose-only config
option: `USE_SUB_URL_PATH`. It does nothing for end users, it only helps
the development of sub-path related problems.

And also fix #31366

Co-authored-by: @ExplodingDragon
2024-06-15 11:43:57 +08:00
..
request.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
serve_test.go Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
serve.go Skip gzip for some well-known compressed file types (#30796) 2024-05-02 02:27:25 +00:00
url_test.go Fix duplicate sub-path for avatars (#31365) 2024-06-15 11:43:57 +08:00
url.go Fix duplicate sub-path for avatars (#31365) 2024-06-15 11:43:57 +08:00