Fix execution of user-agent collection script. - bitreich-httpd - Bitreich HTTPD service
HTML git clone git://bitreich.org/bitreich-httpd git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-httpd
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 19ed00841160bf4661c1a2533ce9008eef47090e
DIR parent bf9101e0e7efc8918d6122efef1339ac12b25b63
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 3 Sep 2023 07:32:19 +0200
Fix execution of user-agent collection script.
Diffstat:
M bitreich-httpd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/bitreich-httpd.c b/bitreich-httpd.c
@@ -195,7 +195,7 @@ main(int argc, char *argv[])
}
if (!strcasecmp(header, "user-agent")) {
asprintf(&path,
- "/home/annna/bin/modules/http-user-agent/add-user-agent.sh \"%s\"",
+ "/home/annna/bin/modules/http-user-agent/add-user-agent.sh '%s'",
headerval);
system(path);
free(path);