moriyoshi Sat May 31 13:02:01 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/sapi/cgi cgi_main.c
Log:
MFH(r-1.231): CGI SAPI should honour this setting (arg_separator.input)
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.190.2.36 php4/sapi/cgi/cgi_main.c:1.190.2.37
--- php4/sapi/cgi/cgi_main.c:1.190.2.36 Fri May 30 22:20:08 2003
+++ php4/sapi/cgi/cgi_main.c Sat May 31 13:02:01 2003
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cgi_main.c,v 1.190.2.36 2003/05/31 02:20:08 helly Exp $ */
+/* $Id: cgi_main.c,v 1.190.2.37 2003/05/31 17:02:01 moriyoshi Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -1426,7 +1426,7 @@
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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php