summaryrefslogtreecommitdiffstats
path: root/core/avatar
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-06-15 18:35:41 +0200
committerLukas Reschke <lukas@owncloud.com>2015-06-15 18:35:41 +0200
commit34f5541088e99367a8bcdc1ca2ba4fa8524eec68 (patch)
tree2bce13a37e15f7a52415830149b198b001adec52 /core/avatar
parent15ba2a41002d0fb72a5a6ee7f3cb129b03acc4e5 (diff)
downloadnextcloud-server-34f5541088e99367a8bcdc1ca2ba4fa8524eec68.tar.gz
nextcloud-server-34f5541088e99367a8bcdc1ca2ba4fa8524eec68.zip
Add `no-store` to AppFramework
Diffstat (limited to 'core/avatar')
-rw-r--r--core/avatar/avatarcontroller.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/avatar/avatarcontroller.php b/core/avatar/avatarcontroller.php
index 9eb7069166e..5ddd80c45af 100644
--- a/core/avatar/avatarcontroller.php
+++ b/core/avatar/avatarcontroller.php
@@ -209,8 +209,7 @@ class AvatarController extends Controller {
$resp = new DataDisplayResponse($image->data(),
Http::STATUS_OK,
- ['Content-Type' => $image->mimeType(),
- 'Pragma' => 'public']);
+ ['Content-Type' => $image->mimeType()]);
$resp->setETag(crc32($image->data()));
$resp->cacheFor(0);