mirror of
https://github.com/getgrav/grav.git
synced 2026-07-19 13:50:01 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user