aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2012-09-15 18:01:23 +0400
committerSteve Klabnik <steve@steveklabnik.com>2012-09-15 18:01:23 +0400
commitb079f7a334137400085e19ec1b3ffc95fd53fc4c (patch)
tree920614415163b5a5ba74338b2ad1ab793f9a2683 /actionpack
parent1b7894c95b1bdd2a3dca204629b66060f8a16bca (diff)
downloadrails-b079f7a334137400085e19ec1b3ffc95fd53fc4c.tar.gz
rails-b079f7a334137400085e19ec1b3ffc95fd53fc4c.tar.bz2
rails-b079f7a334137400085e19ec1b3ffc95fd53fc4c.zip
fix the build
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/http/cache.rb1
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