diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-07-29 01:41:33 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-07-29 01:41:33 +0000 |
commit | 6c73823b10bed9baebfa681967bc320f69b7d813 (patch) | |
tree | 487e8dcae50bb26fe9878a2fb901e80bf8160dd0 /modules/blog/blog.module | |
parent | cd632f62510bb78a619cb40a316478ca47ca5249 (diff) | |
download | brdo-6c73823b10bed9baebfa681967bc320f69b7d813.tar.gz brdo-6c73823b10bed9baebfa681967bc320f69b7d813.tar.bz2 |
Fixing a rather nasty bug with page cache:
The headers stored for cached pages ended in a newline, which caused header("") to get called when serving the page.
On some PHP versions (happens on 4.3.3 at least, but not in 5.0), PHP adds a blank header to the HTTP request (i.e. just \r\n) which ends HTTP headers prematurely and adds a newline at the beginning of the page.
This was not an issue before because we output HTML. Now that we have GZip compression, this bug caused corruption of the output. :P
*phew*
Diffstat (limited to 'modules/blog/blog.module')
0 files changed, 0 insertions, 0 deletions