#35204 [Opn]: ru.php.net sends invalid charset in Content-type

From: Date: Thu, 07 Jun 2007 18:15:22 +0000
Subject: #35204 [Opn]: ru.php.net sends invalid charset in Content-type
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-35637@lists.php.net to get a copy of this message
ID: 35204 Updated by: bjori@php.net Reported By: php at koterov dot ru Status: Open Bug Type: Website problem PHP Version: Irrelevant New Comment: This mirror was disabled long time ago and the mirror maintainer asked to upgrade his configuration. Previous Comments: ------------------------------------------------------------------------ [2005-11-14 12:16:51] php at koterov dot ru See HTTP headers below. Reproducible in IE and FF, all versions. URL: http://ru.php.net/date Switch to Russian in http://ru.php.net/my.php before. ------------------------------------------------------------------------ [2005-11-14 11:09:28] dmytton@php.net What system environment are you using? I can't replicate the problem on Windows with Firefox/IE. ------------------------------------------------------------------------ [2005-11-12 23:34:36] php at koterov dot ru Description: ------------ When I visit http://ru.php.net/date, for example, page goes in invalid charset. Real charset is UTF-8, BUT header Contrent-type reports windows-1251: +++GET 1+++ GET /date HTTP/1.1 Host: ru.php.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: ru-ru,ru;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Cookie: LAST_SEARCH=quickref%2Cthrow; LAST_LANG=ru; COUNTRY=RUS%2C85.30.227.191 Pragma: no-cache Cache-Control: no-cache Connection: keep-alive Browser reload detected... +++RESP 1+++ HTTP/1.1 200 OK Date: Sat, 12 Nov 2005 22:20:03 GMT Server: Apache/1.3.33 (Unix) PHP/4.4.1 rus/PL30.20 X-Powered-By: PHP/4.4.1 Content-language: ru Status: 200 OK Last-Modified: Sat, 12 Nov 2005 00:27:02 GMT Vary: Cookie, accept-charset Transfer-Encoding: chunked Content-Type: text/html; charset=windows-1251 This bug lasts already more than year, and nobody corrects it. Strange! In Russia, when we try to visit http://php.net/data, redirect performed to ru.php.net (time to time), and there is a lot of broken page there. Could you please contact ru.php.net webmasters? There is the same bug, but it has the status "bogus" and I cannot open it nor add a comment. http://bugs.php.net/bug.php?id=34437 Reproduce code: --------------- Visit http://ru.php.net/date Expected result: ---------------- Page in UTF-8, Content-type contains charset UTF-8. Actual result: -------------- Page in UTF-8, Content-type contains charset windows-1251. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35204&edit=1

« previous php.mirrors (#35637) next »