From 8d20c002c819df91b385ae3c3754b9466b2c786d Mon Sep 17 00:00:00 2001 From: n0nag0n Date: Fri, 19 Jan 2024 21:50:51 -0500 Subject: [PATCH] Added double quotes to etag to match standards --- flight/Engine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/Engine.php b/flight/Engine.php index bd435c2..0475460 100644 --- a/flight/Engine.php +++ b/flight/Engine.php @@ -728,7 +728,7 @@ class Engine { $id = (('weak' === $type) ? 'W/' : '') . $id; - $this->response()->header('ETag', $id); + $this->response()->header('ETag', '"'.str_replace('"', '\"', $id).'"'); if ( isset($_SERVER['HTTP_IF_NONE_MATCH']) &&