ID: 43928
User updated by: david dot reade at sbhelp dot co dot uk
Reported By: david dot reade at sbhelp dot co dot uk
Status: Open
Bug Type: Variables related
Operating System: CentOS 5.1
PHP Version: 5.2.5
New Comment:
Reproduce code should actually read:
<?php
if(isset($_GET['this.is.a.test'])) {
echo('It works!'); exit();
}
if(isset($_GET['this;is;a;test'])) {
echo('It works!'); exit();
}
if(isset($_GET['this:is:a:test'])) {
echo('It works!'); exit();
}
?>
Previous Comments:
------------------------------------------------------------------------
[2008-01-24 14:54:08] david dot reade at sbhelp dot co dot uk
Description:
------------
Using dots in queries, e.g. "/index.php?this.is.a.test", which returns
a white page with no error, even with 'error_reporting(E_ALL)'. However
using any other symbol, such as a colon, returns the correct result.
Reproduce code:
---------------
<?php
if(isset($_GET['this.is.a.test'])) {
echo('It works!'); exit();
}
if(isset($_GET['this;is;a;test'])) {
echo('It works!'); exit();
}
if(isset($_GET['this;is;a;test'])) {
echo('It works!'); exit();
}
?>
Expected result:
----------------
It works!
Actual result:
--------------
/index.php?this.is.a.test = <white page, no error>
/index.php?this;is;a;test = 'It works!'
/index.php?this:is:a:test = 'It works!'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43928&edit=1