home readme diff tree note docs

0commit 8980f6fdcbfc718247c4285814f1883d03689182
1Author: lakefox <mason@lakefox.net>
2Date:   Sat May 23 12:16:32 2026 -0600
3
4    Added name scoping
5
6diff --git a/cgi-bin/cgi.awk b/cgi-bin/cgi.awk
7index ae363cc..7580f32 100755
8--- a/cgi-bin/cgi.awk
9+++ b/cgi-bin/cgi.awk
10@@ -24,12 +24,12 @@ BEGIN {
11         query_args = ""
12         for (p in params) query_args = query_args p "=" params[p] " "
13 
14-        file = "/tmp/" hash "/" path
15+        file = "/tmp/" name "/" hash "/" path
16 
17         if (system("test -x " file) != 0) {
18                 n = split(path, parts, "/")
19 
20-                dir_path = "/tmp/" hash
21+                dir_path = "/tmp/" name "/" hash
22                 for (i = 1; i < n; i++) {
23                         dir_path = dir_path "/" parts[i]
24                 }