1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-22 08:13:14 +02:00

[ticket/14285] Don't set cache-control by default

PHPBB3-14285
This commit is contained in:
rubencm
2019-06-21 23:59:34 +00:00
parent b1495bd54a
commit 6e345c37a9
3 changed files with 8 additions and 4 deletions

View File

@@ -96,6 +96,8 @@ class avatar extends controller
*/
protected function prepare($file)
{
$this->response->setPublic();
$disposition = $this->response->headers->makeDisposition(
ResponseHeaderBag::DISPOSITION_INLINE,
rawurlencode($file)