Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

render_file() send wrong Content-type header

#27

render_file() send a malformed Content-type header when it serves text files

Can be fixed by replacing:

    if(file_is_text($filename)) $header .= 'charset='.strtolower(option('encoding'));

with

    if(file_is_text($filename)) $header .= '; charset='.strtolower(option('encoding'));

Reported by Fabrice Luraine · August 26th, 2009 @ 03:33 PM

State: resolved
Assigned to: Fabrice Luraine Fabrice Luraine

Activity

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.