Edit report at https://bugs.php.net/bug.php?id=55457&edit=1

 ID:                 55457
 Updated by:         larue...@php.net
 Reported by:        larue...@php.net
 Summary:            cli built-in web server does not work with IE
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Built-in web server
 PHP Version:        5.4.0alpha3
-Assigned To:        
+Assigned To:        laruence
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2011-08-19 07:24:28] larue...@php.net

Automatic comment from SVN on behalf of laruence
Revision: http://svn.php.net/viewvc/?view=revision&revision=315158
Log: Fixed #55457(cli built-in web server does not work with IE), introduced by 
r315128

------------------------------------------------------------------------
[2011-08-19 07:23:05] larue...@php.net

problem is the content_length could be a negative

see "./php_http_parser.c" line 389


I am going to push this patch into svn trunk

------------------------------------------------------------------------
[2011-08-19 07:20:55] larue...@php.net

The following patch has been added/updated:

Patch Name: bug55457.patch
Revision:   1313738455
URL:        
https://bugs.php.net/patch-display.php?bug=55457&patch=bug55457.patch&revision=1313738455

------------------------------------------------------------------------
[2011-08-19 07:20:15] larue...@php.net

Description:
------------
built-in web server does not work with IE


Test script:
---------------
<?php
var_dump($_FILES);
?>

<form enctype="multipart/form-data" method="post">
    <label for="filename">Select a file to upload:</label><br>
    <input type="file" id="file" name="file">
    <br><br>
    <input type="submit" name="action" value="Upload">
</form>

Expected result:
----------------
<form enctype="multipart/form-data" method="post">
    <label for="filename">Select a file to upload:</label><br>
    <input type="file" id="file" name="file">
    <br><br>
    <input type="submit" name="action" value="Upload">
</form>

Actual result:
--------------
[Fri Aug 19 14:53:54 2011] 172.21.232.118:52054 Invalid request (Connection 
reset 
by peer)


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55457&edit=1

Reply via email to