aboutsummaryrefslogtreecommitdiff
path: root/handle_repo_tree.go
diff options
context:
space:
mode:
Diffstat (limited to 'handle_repo_tree.go')
-rw-r--r--handle_repo_tree.go1
1 files changed, 0 insertions, 1 deletions
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)