Bug #16027: decoding of GET-parameter %D0%27 fails

From: Date: Tue, 12 Mar 2002 23:28:09 +0000
Subject: Bug #16027: decoding of GET-parameter %D0%27 fails
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-2330@lists.php.net to get a copy of this message
From: schmidt@bcc.de Operating system: Linux PHP version: 4.1.2 PHP Bug Type: *General Issues Bug description: decoding of GET-parameter %D0%27 fails After decoding a GET-request containing %D0%27 an extraneous \ is inserted between the two characters. This may easily reproduced by calling a PHP-page containing phpinfo(), calling it with ?request=%D027 ad taking a look at the "PHP Variables" section. _GET["request"] Ð\'  _SERVER["REQUEST_METHOD"] GET  _SERVER["QUERY_STRING"] request=%D0%27  _SERVER["REQUEST_URI"] /bla.php?request=%D0%27 For your convenience I've added some more lines from the output: _SERVER["SERVER_SOFTWARE"] Apache/1.3.23 (Unix) mod_ssl/2.8.7 OpenSSL/0.9.6b PHP/4.1.2  Configure Command './configure' '--with-pgsql' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--without-mysql' '--enable-sysvshm' '--enable-sysvsm' '--with-config-file-path=/usr/local/apache' '--enable-track-vars' '--enable-force-cgi-redirect' '--with-gettext' '--enable-inline-optimization' I've seen the bug the first time with PHP 4.0.6,then checked against PHP 4.1.2. -- Edit bug report at http://bugs.php.net/?id=16027&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16027&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16027&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16027&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16027&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16027&r=support Expected behavior: http://bugs.php.net/fix.php?id=16027&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16027&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16027&r=submittedtwice

« previous php.bugs (#2330) next »