mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-21 16:22:22 +02:00
Merge pull request #5931 from ansavin/ticket/16367
[ticket/16367] Add charset to Content-Type response header in feed controller
This commit is contained in:
commit
a12b70468f
@ -386,8 +386,7 @@ class feed
|
||||
));
|
||||
|
||||
$response = new Response($content);
|
||||
$response->headers->set('Content-Type', 'application/atom+xml');
|
||||
$response->setCharset('UTF-8');
|
||||
$response->headers->set('Content-Type', 'application/atom+xml; charset=UTF-8');
|
||||
$response->setLastModified(new \DateTime('@' . $feed_updated_time));
|
||||
|
||||
if (!empty($this->user->data['is_bot']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user