#22773 [Ctl]: posted form variables mixed

From: Date: Tue, 25 Mar 2003 11:52:59 +0000
Subject: #22773 [Ctl]: posted form variables mixed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-36381@lists.php.net to get a copy of this message
ID: 22773 Updated by: moriyoshi@php.net Reported By: joe at mcknight dot de Status: Critical Bug Type: CGI related Operating System: Linux PHP Version: 4.3.2-RC New Comment: Related to bug #22612 Previous Comments: ------------------------------------------------------------------------ [2003-03-24 18:33:26] rasmus@php.net That means a command-line test case in tests/basic should fail as well. ------------------------------------------------------------------------ [2003-03-24 18:17:01] sniper@php.net It doesn't matter. I tried two different ways, both failed. For example (otherwise default httpd.conf): AddType application/x-httpd-php .php ScriptAlias /php/ "/www/apache/cgi-bin/" Action application/x-httpd-php /php/php-cgi ------------------------------------------------------------------------ [2003-03-24 18:12:23] rasmus@php.net How are you triggering the cgi? ie. what does your Apache config look like? ------------------------------------------------------------------------ [2003-03-24 18:06:58] sniper@php.net making critical (should really be fixed before 4.3.2 goes gold..) ------------------------------------------------------------------------ [2003-03-24 17:51:39] sniper@php.net I just tested again this, and could finally reproduce this. (had an old cgi binary which read wrong php.ini, stupid me..) Summary of conditions: - only happens with the regular posts (ie. when rfc1867.c is used, it works fine, or GET method) - register_globals has to be 'On' - The posted value has to be longer than one (1) character - Only the global variable gets mangled, $_POST[] array has the correct value ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22773 -- Edit this bug report at http://bugs.php.net/?id=22773&edit=1

« previous php.bugs (#36381) next »