Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2025-02-16 | *.go: Fix missing error handling | Runxi Yu | 1 | -2/+8 | |
2025-02-16 | http_*: Add HTTP cloning | Runxi Yu | 1 | -0/+2 | |
2025-02-15 | *.go: Reformat | Runxi Yu | 1 | -4/+4 | |
2025-02-15 | {http_server,url}.go: Fix redirects | Runxi Yu | 1 | -15/+10 | |
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. :/ | |||||
2025-02-15 | http_server.go: Redirect tree to tree/, same for raw | Runxi Yu | 1 | -0/+8 | |
2025-02-14 | *_server.go: clog.Info instead of Debug for requests | Runxi Yu | 1 | -1/+1 | |
2025-02-14 | repo_log: Use parameters for refspec | Runxi Yu | 1 | -7/+3 | |
2025-02-14 | http_server.go: Rename dir_mode to trailing_slash | Runxi Yu | 1 | -7/+7 | |
2025-02-14 | http_*: Refactor to reduce duplication | Runxi Yu | 1 | -2/+14 | |
2025-02-13 | *.go: Reformat | Runxi Yu | 1 | -2/+2 | |
2025-02-13 | http_{server,handle_login}.go: Fix missing error handling | Runxi Yu | 1 | -1/+9 | |
2025-02-13 | {http,ssh}_server.go: Add debug logs for incoming requests | Runxi Yu | 1 | -0/+4 | |
2025-02-13 | http_*.go: Use http.Error | Runxi Yu | 1 | -1/+1 | |
2025-02-13 | handle_user: Stub | Runxi Yu | 1 | -3/+5 | |
2025-02-13 | login: Stub login page | Runxi Yu | 1 | -3/+13 | |
2025-02-13 | _header.html: Add header | Runxi Yu | 1 | -9/+22 | |
2025-02-13 | *.go: Mass rename files for clarity | Runxi Yu | 1 | -0/+0 | |
2025-02-12 | router_http: Ensure module index has / | Runxi Yu | 1 | -0/+4 | |
2025-02-12 | router_{http,ssh}.go, url_misc.go: Fix escaping | Runxi Yu | 1 | -0/+2 | |
2025-02-12 | *.go: Reformat | Runxi Yu | 1 | -1/+0 | |
2025-02-12 | router_http: Use http.Error instead of Fprintln to report errors | Runxi Yu | 1 | -6/+9 | |
2025-02-12 | http_router.go: Move from router.go and fix conditional placement bug | Runxi Yu | 1 | -5/+5 | |
2025-02-12 | router.go: Fix out-of-bounds read on /: | Runxi Yu | 1 | -0/+5 | |
2025-02-12 | *.go: Reformat | Runxi Yu | 1 | -1/+0 | |
2025-02-12 | router: Stricter URL | Runxi Yu | 1 | -0/+12 | |
2025-02-12 | *: Migrate to the new path scheme | Runxi Yu | 1 | -0/+101 | |