Re: mime.types.conf int lighttpd

2012-02-25 Thread glen

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
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: mime.types.conf int lighttpd

2012-02-25 Thread Paweł Gołaszewski
On Sat, 25 Feb 2012, g...@pld-linux.org 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

Any docs about that option? I can't find anything about that...

Any encoding set in user files CAN'T be overwriten...

P.S.: I wanted revert your changes today...

-- 
pozdr.  Paweł Gołaszewski  jid:bluesatjabberdotgdadotpl
--
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en