moriyoshi Fri May 30 18:31:12 2003 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
CGI SAPI should honour this setting
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.230 php4/sapi/cgi/cgi_main.c:1.231
--- php4/sapi/cgi/cgi_main.c:1.230 Fri May 30 12:10:58 2003
+++ php4/sapi/cgi/cgi_main.c Fri May 30 18:31:12 2003
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cgi_main.c,v 1.230 2003/05/30 16:10:58 derick Exp $ */
+/* $Id: cgi_main.c,v 1.231 2003/05/30 22:31:12 moriyoshi Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -1444,7 +1444,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