Page MenuHomePhabricator

noc.wikimedia.org should serve text files with a mime type specifying charset (text/plain; charset=utf-8)
Closed, ResolvedPublic

Description

currently noc.wikimedia.org serves text files (like http://noc.wikimedia.org/conf/InitialiseSettings.php.txt ) as text/plain. It should be served as text/plain; charset=utf-8 since if the charset parameter is not included, rfc2046 says the document should be considered to be US-ASCII. In practise, firefox seems to consider the text file to be iso-8859-1. In any case the special characters appear broken when viewing currently.


Version: unspecified
Severity: enhancement

Details

Reference
bz25528

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:19 PM
bzimport set Reference to bz25528.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

Done.

+ <Directory /home/wikipedia/htdocs/noc/conf>
+ AddDefaultCharset utf-8
+ </Directory>