Make sure to include input in selector on goeomyidae version
0.69 Also avoid making a double path separator in the selector.
INSERTED DELETED
3 2 src/cgi.awk
3 2 TOTAL over 1 changed file
Index: src/cgi.awk
==================================================================
--- src/cgi.awk
+++ src/cgi.awk
@@ -13,14 +13,15 @@
# remove leading text up through beginning of cgipath
if (match(path, cgipath)) {
selector = substr(path, RSTART)
}
- # remove trailing text from beinning of script name
+ # remove trailing text from beginning of script name
if (match(selector, ENVIRON["SCRIPT_NAME"])) {
- selector = substr(selector, 1, RSTART)
+ selector = substr(selector, 1, RSTART-1)
}
+ selector = selector input
} else {
input = traversal
}
if (length(search) == 0 && match(input, /%09.*/)) {