aboutsummaryrefslogtreecommitdiff
path: root/handle_repo_commit.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 23:18:21 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 23:18:21 +0800
commitcc07b71f68e97516b5fe9512a31d5afb8b8972cd (patch)
treed9f54efc511b87f2d78713637631c133dc9f2a51 /handle_repo_commit.go
parent*: Use URL params to specify commits/branches/tags (diff)
downloadforge-cc07b71f68e97516b5fe9512a31d5afb8b8972cd.tar.gz
forge-cc07b71f68e97516b5fe9512a31d5afb8b8972cd.tar.zst
forge-cc07b71f68e97516b5fe9512a31d5afb8b8972cd.zip
*.go: Remove extra TODOs
Diffstat (limited to 'handle_repo_commit.go')
-rw-r--r--handle_repo_commit.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/handle_repo_commit.go b/handle_repo_commit.go
index 22d58ec..4bec9dd 100644
--- a/handle_repo_commit.go
+++ b/handle_repo_commit.go
@@ -16,7 +16,6 @@ type usable_file_patch struct {
func handle_repo_commit(w http.ResponseWriter, r *http.Request) {
data := make(map[string]any)
- // TODO: Sanitize path values
group_name, repo_name, commit_id_specified_string := r.PathValue("group_name"), r.PathValue("repo_name"), r.PathValue("commit_id")
data["group_name"], data["repo_name"] = group_name, repo_name
repo, err := open_git_repo(group_name, repo_name)