From: Thomas Tanghus Date: Thu, 16 Feb 2012 22:24:23 +0000 (+0100) Subject: ETags must be quoted. X-Git-Tag: v4.0.0beta~201^2~41 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=71aa36c3f16942cd35f550253b892f5be4116784;p=nextcloud-server.git ETags must be quoted. --- 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.'"'); } /**