From 39aba302878fcffba7496d0892268c8f1467fcd2 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 6 Mar 2025 21:10:22 +0800 Subject: repo/tree, readme: nosec G203 --- http_handle_repo_tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http_handle_repo_tree.go') diff --git a/http_handle_repo_tree.go b/http_handle_repo_tree.go index 190f082..ae9efbc 100644 --- a/http_handle_repo_tree.go +++ b/http_handle_repo_tree.go @@ -84,7 +84,7 @@ func handle_repo_tree(w http.ResponseWriter, r *http.Request, params map[string] http.Error(w, "Error formatting code: "+err.Error(), http.StatusInternalServerError) return } - formatted_encapsulated = template.HTML(formatted_unencapsulated.Bytes()) + formatted_encapsulated = template.HTML(formatted_unencapsulated.Bytes()) //#nosec G203 params["file_contents"] = formatted_encapsulated render_template(w, "repo_tree_file", params) -- cgit v1.2.3