mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
RSS feed should be sent with charset=utf-8 header
This commit is contained in:
parent
6fed1f6791
commit
64490129c2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user