#14512 [Ass->]: --enable-mbstr-enc-trans breaks parametr parsing
| From: | hirokawa@php.net | Date: | Sat, 27 Jul 2002 14:45:15 +0000 |
| Subject: | #14512 [Ass->]: --enable-mbstr-enc-trans breaks parametr parsing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15416@lists.php.net to get a copy of this message | ||
ID: 14512
Updated by: hirokawa@php.net
Reported By: cech@debian.org
-Status: Assigned
+Status: Closed
Bug Type: *Languages/Translation
Operating System: Debian
PHP Version: 4.1.0RC1
Assigned To: hirokawa
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
This problem is caused by a bug parameter handling in mbstring. The GET
parameter without value was not correctly parsed in mbstring.
This bug is already fixed in PHP4-CVS/PHP-4.2.0dev-CVS by Edin
Kadribasic.
Previous Comments:
------------------------------------------------------------------------
[2001-12-14 07:09:11] yohgaki@php.net
Oops sorry. Copy & paste magic ;)
I thought you are mixing + and %20, but it's not.
This should be fixed :)
------------------------------------------------------------------------
[2001-12-14 06:53:12] cech@debian.org
Yes. the _GET["111_222_"] is the problem!
the query should be only
sep.php?+111+222+&test_param=abcde&
and this should be correct one. Strange is, that when you use
sep.php?&test_param=asdf&+123+234+
you get the correct result
------------------------------------------------------------------------
[2001-12-14 06:32:22] yohgaki@php.net
Hirokawa-san,
Although query string is completely wrong, could you take a look at it?
I've got
_GET["111_222_"]
for
phpinfo.php?+111+222+&test_param=abcde&%20the%20test_param
BTW, Language & Translation is for manuals ;)
Type = Unknown/Other Function, since mbstring module is missing in type
:(
To reporter: Since query string invalid, this may not be fixed. Do you
have any query string valid, yet produce wrong result?
------------------------------------------------------------------------
[2001-12-14 06:11:15] cech@debian.org
When you run s script with like sep.php?+111+222+&test_param=abcde& the
test_param won't get inserted into
environment/GET['test_param']/HTTP_GET_PARAMS
It's also related to Debian bug #121403
http://bugs.debian.org/121403
Petr Cech
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14512&edit=1