#25793 [Bgs]: special POST or GET query crashes PHP under Windows
| From: | sniper@php.net | Date: | Tue, 14 Oct 2003 16:35:40 +0000 |
| Subject: | #25793 [Bgs]: special POST or GET query crashes PHP under Windows | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48991@lists.php.net to get a copy of this message | ||
ID: 25793
Updated by: sniper@php.net
Reported By: valyala at tut dot by
Status: Bogus
Bug Type: Reproducible crash
Operating System: Win2k sp3, WinXP, Win2003
PHP Version: 4.3.3RC1 - RC4
New Comment:
Could not reproduce with PHP 4.3.4RC2-dev, that is.
Previous Comments:
------------------------------------------------------------------------
[2003-10-14 12:34:52] sniper@php.net
You're doing something wrong, I can NOT reproduce this.
Make sure you actually have ONLY one php4ts.dll, etc. in your system.
------------------------------------------------------------------------
[2003-10-13 09:23:30] valyala at tut dot by
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"
------------------------------------------------------------------------
[2003-10-13 03:26:56] sniper@php.net
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