#27 ✓resolved
Fabrice Luraine

render_file() send wrong Content-type header

Reported by Fabrice Luraine | August 26th, 2009 @ 03:33 PM | in Release 0.4 - Fresh Mint And Ginger

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'));

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Limonade is a PHP micro-framework.

People watching this ticket

Referenced by

Pages