From 899cbffe332b12ca5062986d0c51972acb2782cd Mon Sep 17 00:00:00 2001 From: j000 Date: Fri, 12 May 2017 20:05:35 +0200 Subject: [PATCH] ETag header should be inside double quotes (#1471) It's small change, but still... https://tools.ietf.org/html/rfc7232#section-2.3 --- system/src/Grav/Common/Grav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/Grav.php b/system/src/Grav/Common/Grav.php index c2ccfcb5af..1c639e8307 100644 --- a/system/src/Grav/Common/Grav.php +++ b/system/src/Grav/Common/Grav.php @@ -235,7 +235,7 @@ public function header() // Calculate a Hash based on the raw file if ($page->eTag()) { - header('ETag: ' . md5($page->raw() . $page->modified())); + header('ETag: "' . md5($page->raw() . $page->modified()).'"'); } // Set debugger data in headers