ID: 25793
User updated by: valyala at tut dot by
Reported By: valyala at tut dot by
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: Win2k sp3, WinXP, Win2003
-PHP Version: 4.3.3 and older
+PHP Version: 4.3.3RC1 - RC4
New Comment:
I am using Apache 1.3.27 webserver.
This string is in apache's httpd.conf file:
LoadModule php4_module "c:/usr/bin/php/sapi/php4apache.dll"
Previous Comments:
------------------------------------------------------------------------
[2003-10-13 03:26:56] [EMAIL PROTECTED]
I can not reproduce this within WinXP + Apache2 (PHP as apache2
module).
What SAPI module are you using? (isapi,apache1/2, CGI binary..)
Webserver?
------------------------------------------------------------------------
[2003-10-08 09:34:18] valyala at tut dot by
Description:
------------
this query strings crashes PHP under Windows:
1[]
437378[index]
232[index]=value&something_else
the query string must begins with any decimal number, following braces
with optional index string.
Sorry for my English :)
Reproduce code:
---------------
GET /any_php_script.php?1[] HTTP/1.1
Expected result:
----------------
If my script looks like this:
<?php
print_r($_GET);
?>
I expected:
Array
(
[1] => Array
(
[0] =>
)
)
Actual result:
--------------
No response headers received because request failed :
ERROR_INTERNET_CONNECTION_RESET
And windows shows error message: "Apache.exe has generated errors and
will be closed by Windows. You will need to restart the program"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25793&edit=1