Edit report at https://bugs.php.net/bug.php?id=55457&edit=1
ID: 55457 Updated by: [email protected] Reported by: [email protected] 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] [email protected] 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] [email protected] 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] [email protected] 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] [email protected] 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
