mime.types.conf int lighttpd
glen at pld-linux.org
glen at pld-linux.org
Sat Feb 25 11:22:08 CET 2012
On 16/02/12 09:45, Paweł Gołaszewski wrote:
>
> There is problem with recent change in lighttpd-mime.types.sh (it
> generates mime.types.conf).
> [...]
> revision 1.3
> date: 2012/01/22 20:52:51; author: glen; state: Exp; lines: +15 -1; kopt: kv; commitid: 64d94f1c7723ee01; filename: lighttpd-mime.types.sh;
> - add charset to text content-types; default as utf8
> [...]
>
> There is added header:
> # charset used for "text/*" mimetypes
> mimetype_textcharset = "utf-8"
>
> ...and some "charset= + mimetype_textcharset" entries.
>
> It causes problems because encoding is not detected in pages, always utf-8
> is used, no matter what header in html is set.
>
> Tested on AC.
>
> This should be reversed...
perhaps then mimetype_charsetheader = "; charset=\"utf-8\""
to be able to leave it empty meaning no charset is enforced
--
glen
More information about the pld-devel-en
mailing list