Menu

#73 content-type header is malformed

open
nobody
None
5
2006-12-18
2006-12-18
mrdyg
No

Re: CSS validator
Posted by: zachofalltrades (IP Logged)
Date: December 15, 2006 03:29PM

this does seem to be a bug, or at least an intolerance of imperfect HTTP header syntax (and that is what validators are for I suppose)...

find the function set_Headers() in lucid_phplib/coreDisplay.php

look for the line:

if($sCharSet != '') $sContentType .= '; charset: '.$sCharSet;

change the colon after charset to an equal sign like so:

if($sCharSet != '') $sContentType .= '; charset= '.$sCharSet;

Thanks to mydyg for testing this fix for me.

Discussion


Log in to post a comment.