summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/cgi/cgi_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index 2c3b604dd3..d8acfd1c3f 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -1444,7 +1444,7 @@ consult the installation file that came with this distribution, or visit \n\
for (i = optind, len = 0; i < argc; i++) {
strcat(s, argv[i]);
if (i < (argc - 1)) {
- strcat(s, "&");
+ strcat(s, PG(arg_separator).input);
}
}
SG(request_info).query_string = s;