Skip to content

Commit

Permalink
Merge pull request #3453 from uniun/patch-1
Browse files Browse the repository at this point in the history
RSS feed should be sent with charset=utf-8 header
  • Loading branch information
simonwelsh committed Aug 30, 2014
2 parents 6fed1f6 + 6449012 commit 7bacaa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/RSSFeed.php
Expand Up @@ -201,7 +201,7 @@ public function outputToBrowser() {

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

0 comments on commit 7bacaa8

Please sign in to comment.