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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
39 - 14 = ?
Subscribe to this entry?

 
 [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)

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 09:01:27 2024 UTC