PHP 4.0 Bug #8108: ob_length() doesn't take into account strings added by trans-sid
| From: | phpbug at jbirch dot com | Date: | Tue, 05 Dec 2000 07:04:24 +0000 |
| Subject: | PHP 4.0 Bug #8108: ob_length() doesn't take into account strings added by trans-sid | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40077@lists.php.net to get a copy of this message | ||
From: phpbug@jbirch.com
Operating system: Free BSD 2.2.7
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: ob_length() doesn't take into account strings added by trans-sid
I've got php4.3.3pl1 compiled as a CGI with --enable-trans-sid.
I currently use the ob_length function to send a Content-Length header with my semi-static pages to
enhance their cacheability. As soon as I enabled trans-sid with cookies disabled this behaviour
broke, because ob_length appears to be calculated before the SID is applied to the page. My pages
get truncated by browsers that accept the content-length header (all modern browsers).
--
Edit Bug report at: http://bugs.php.net/?id=8108&edit=1