From cc07b71f68e97516b5fe9512a31d5afb8b8972cd Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 23:18:21 +0800 Subject: *.go: Remove extra TODOs --- handle_repo_tree.go | 1 - 1 file changed, 1 deletion(-) (limited to 'handle_repo_tree.go') diff --git a/handle_repo_tree.go b/handle_repo_tree.go index 824f5df..1d18598 100644 --- a/handle_repo_tree.go +++ b/handle_repo_tree.go @@ -16,7 +16,6 @@ import ( func handle_repo_tree(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, "/") ref_type, ref_name, err := get_param_ref_and_type(r) -- cgit v1.2.3