diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-11 23:18:21 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-11 23:18:21 +0800 |
commit | cc07b71f68e97516b5fe9512a31d5afb8b8972cd (patch) | |
tree | d9f54efc511b87f2d78713637631c133dc9f2a51 /handle_repo_raw.go | |
parent | *: Use URL params to specify commits/branches/tags (diff) | |
download | forge-cc07b71f68e97516b5fe9512a31d5afb8b8972cd.tar.gz forge-cc07b71f68e97516b5fe9512a31d5afb8b8972cd.tar.zst forge-cc07b71f68e97516b5fe9512a31d5afb8b8972cd.zip |
*.go: Remove extra TODOs
Diffstat (limited to 'handle_repo_raw.go')
-rw-r--r-- | handle_repo_raw.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/handle_repo_raw.go b/handle_repo_raw.go index d3ffe3e..7ed3842 100644 --- a/handle_repo_raw.go +++ b/handle_repo_raw.go @@ -11,7 +11,6 @@ import ( func handle_repo_raw(w http.ResponseWriter, r *http.Request) { data := make(map[string]any) - // TODO: Sanitize path values raw_path_spec := r.PathValue("rest") group_name, repo_name, path_spec := r.PathValue("group_name"), r.PathValue("repo_name"), strings.TrimSuffix(raw_path_spec, "/") |