[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#745605: apache2: ignores AddDefaultCharset

Hi Stefan,

 If i do a grep in /etc/apache2 searching for AddDefaultCharset, the
only other place where it appears is in proxy.conf, but i have this
module disabled.

 I have discovered that the issue happens on utf-8 encoded js files, it
works for php and html, try it with a js file, the headers that are
expected are:
   Content-Type: application/javascript; charset=utf-8
but instead the headers that are retrieved are:
   Content-Type: application/javascript

 Carlos Cerrillo

El 27/04/2014 22:02, Stefan Fritsch escribió:
> Am Mittwoch, 23. April 2014, 10:40:56 schrieb Carlos:
>> Package: apache2
>> Version: 2.4.9-1
>> Severity: important
>> Dear Maintainer,
>> I commented out from conf-enabled/charset.conf the AddDefaultCharset
>> UTF-8, but this directive is ignored.
>> I also tried to put this directive in the vhost but still ignored,
>> the only solution that solved the problem is using AddCharset
>> directive per file type
> I cannot reproduce this, it works fine here. Maybe you have an 
> AddDefaultCharset off somewhere that overrides the value from 
> charset.conf?

Reply to: