Merge pull request #3453 from uniun/patch-1

RSS feed should be sent with charset=utf-8 header
This commit is contained in:
Simon Welsh 2014-08-30 13:18:47 +10:00
commit 7bacaa8c6b

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);