ETag header should be inside double quotes (#1471)

It's small change, but still...

https://tools.ietf.org/html/rfc7232#section-2.3
This commit is contained in:
j000
2017-05-12 20:05:35 +02:00
committed by Andy Miller
parent 77b44f83e1
commit 899cbffe33

View File

@@ -235,7 +235,7 @@ class Grav extends Container
// 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