diff options
-rw-r--r-- | actionpack/lib/action_dispatch/http/cache.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/http/cache.rb b/actionpack/lib/action_dispatch/http/cache.rb index 13e2701663..d57666525d 100644 --- a/actionpack/lib/action_dispatch/http/cache.rb +++ b/actionpack/lib/action_dispatch/http/cache.rb @@ -28,6 +28,7 @@ module ActionDispatch end def etag_matches?(etag) + etag = etag.gsub(/^\"|\"$/, "") if_none_match_etags.include?(etag) end |