ID: 24083 Updated by: [EMAIL PROTECTED] Reported By: yngve at opera dot com Status: Bogus Bug Type: Zlib Related PHP Version: 4.3.1 New Comment:
Erm? 1st: it has nothing to do with "the PHP server", as PHP is not a server, but rather a module to a webserver. 2nd: we do not set any Content-Length header ourselves. 3rd: PHP is a flexiable scripting language allowed users to set (override) Content-Length headers themselves whereever they think it's necessary even although that might be wrong. AFAIK RFC 2606 is an HTTP RFC, PHP does NOT implement HTTP, but rather makes use of it it. So, what is your problem with PHP? Previous Comments: ------------------------------------------------------------------------ [2003-06-12 10:43:06] yngve at opera dot com As you are, apparently, not willing to enforce correct Content-Length headers I see no option but to make sure that Opera does not trust Content-Length headers served by PHP powered servers. This will be effective as of v7.20. Please inform me when you start enforcing RFC 2616 sec. 4.4 and only sends/passes through valid Content-Length headers, so that I can remove/limit this special handling of PHP servers. ------------------------------------------------------------------------ [2003-06-12 08:20:23] [EMAIL PROTECTED] There's not much we can do if a script sets a wrong content-length header. Not PHP bug. ------------------------------------------------------------------------ [2003-06-09 22:09:11] [EMAIL PROTECTED] We still need a short script to reproduce this, anything I've tried works just fine.. ------------------------------------------------------------------------ [2003-06-09 09:01:37] yngve at opera dot com I do not know if this is present in 4.3.2 as I am not using PHP myself, but I do know that the problem is present on servers using PHP 4.2.2 and 4.3.1, and your changelog does not indicate many changes related to compression, and none that I can see are related to this problem. ------------------------------------------------------------------------ [2003-06-09 08:30:01] [EMAIL PROTECTED] Does this happen with PHP 4.3.2 ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/24083 -- Edit this bug report at http://bugs.php.net/?id=24083&edit=1