php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55457 cli built-in web server does not work with IE
Submitted: 2011-08-19 07:20 UTC Modified: 2011-08-19 07:27 UTC
From: laruence@php.net Assigned: laruence (profile)
Status: Closed Package: Built-in web server
PHP Version: 5.4.0alpha3 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: laruence@php.net
New email:
PHP Version: OS:

 

 [2011-08-19 07:20 UTC] laruence@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)

Patches

bug55457.patch (last revision 2011-08-19 07:20 UTC by laruence@php.net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-19 07:20 UTC] laruence@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:23 UTC] laruence@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:24 UTC] laruence@php.net
Automatic comment from SVN on behalf of laruence
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=315158
Log: Fixed #55457(cli built-in web server does not work with IE), introduced by r315128
 [2011-08-19 07:27 UTC] laruence@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: laruence
 [2011-08-19 07:27 UTC] laruence@php.net
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.


 [2011-08-19 07:40 UTC] laruence@php.net
Automatic comment from SVN on behalf of laruence
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=315159
Log: Fixed #55457 for 5.4 branch
Use ssize_t instead of long (as pierre suggestion)
 [2012-04-18 09:49 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2ebe3799b1ce9bc686c60e6ba95ec3248ab3001d
Log: Fixed #55457 for 5.4 branch Use ssize_t instead of long (as pierre suggestion)
 [2012-04-18 09:49 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e385f3ccf47fb2f6319248fe71579d230b350ac9
Log: Fixed #55457(cli built-in web server does not work with IE), introduced by r315128
 [2012-07-24 23:40 UTC] rasmus@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2ebe3799b1ce9bc686c60e6ba95ec3248ab3001d
Log: Fixed #55457 for 5.4 branch Use ssize_t instead of long (as pierre suggestion)
 [2012-07-24 23:40 UTC] rasmus@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e385f3ccf47fb2f6319248fe71579d230b350ac9
Log: Fixed #55457(cli built-in web server does not work with IE), introduced by r315128
 [2013-11-17 09:36 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2ebe3799b1ce9bc686c60e6ba95ec3248ab3001d
Log: Fixed #55457 for 5.4 branch Use ssize_t instead of long (as pierre suggestion)
 [2013-11-17 09:36 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e385f3ccf47fb2f6319248fe71579d230b350ac9
Log: Fixed #55457(cli built-in web server does not work with IE), introduced by r315128
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 21:01:35 2025 UTC