Skip to content

Commit

Permalink
ETag header should be inside double quotes (#1471)
Browse files Browse the repository at this point in the history
It's small change, but still...

https://tools.ietf.org/html/rfc7232#section-2.3
  • Loading branch information
j000 authored and rhukster committed May 12, 2017
1 parent 77b44f8 commit 899cbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Grav.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 899cbff

Please sign in to comment.