
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
-
Fabrice Luraine October 17th, 2009 @ 06:41 PM
- State changed from new to resolved
(from [32c01e384286afe001c95104bd3a068cb7b4bf62]) Fix render_file() Content-type header [#27 state:resolved] http://github.com/sofadesign/limonade/commit/32c01e384286afe001c951...
-
Hamish Heney October 10th, 2020 @ 12:09 PM
NATURALLY FORMULATED – Hemp Ultimate is loaded with essential fatty acids & antioxidants such as Eucalyptus Oil, Peppermint Essential Oil, Arnica, all acting as natural pain relievers. Hemp cream
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.
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
-
27 render_file() send wrong Content-type header (from [32c01e384286afe001c95104bd3a068cb7b4bf62]) Fix ren...