summaryrefslogtreecommitdiffstats
path: root/lib/response.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-02-16 23:24:23 +0100
committerThomas Tanghus <thomas@tanghus.net>2012-02-18 11:49:31 +0100
commit71aa36c3f16942cd35f550253b892f5be4116784 (patch)
treef599782bed8980cf318fc2396203b77694056a8c /lib/response.php
parent6f1ed85f0b6a7e675951a587f1308211b698a6d5 (diff)
downloadnextcloud-server-71aa36c3f16942cd35f550253b892f5be4116784.tar.gz
nextcloud-server-71aa36c3f16942cd35f550253b892f5be4116784.zip
ETags must be quoted.
Diffstat (limited to 'lib/response.php')
-rw-r--r--lib/response.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/response.php b/lib/response.php
index 9edae3603b2..a75135c0176 100644
--- a/lib/response.php
+++ b/lib/response.php
@@ -116,7 +116,7 @@ class OC_Response {
self::setStatus(self::STATUS_NOT_MODIFIED);
exit;
}
- header('ETag: '.$etag);
+ header('ETag: "'.$etag.'"');
}
/**