RSS feed should be sent with charset=utf-8 header

This commit is contained in:
Elvinas L. 2014-08-29 11:04:44 +03:00
parent 6fed1f6791
commit 64490129c2

View File

@ -201,7 +201,7 @@ class RSSFeed extends ViewableData {
if(!headers_sent()) {
HTTP::add_cache_headers();
$response->addHeader("Content-Type", "application/rss+xml");
$response->addHeader("Content-Type", "application/rss+xml; charset=utf-8");
}
Config::inst()->update('SSViewer', 'source_file_comments', $prevState);