Permalink
Browse files

Make MemCacheStore work with Ruby 1.9 and -Ku

  • Loading branch information...
pixeltrix committed May 31, 2011
1 parent 8776224 commit 1f34a79373854e36c7bf77ffa70688cda6d27a5c
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/cache/mem_cache_store.rb
@@ -31,7 +31,7 @@ module Response # :nodoc:
DELETED = "DELETED\r\n"
end
- ESCAPE_KEY_CHARS = /[\x00-\x20%\x7F-\xFF]/
+ ESCAPE_KEY_CHARS = /[\x00-\x20%\x7F-\xFF]/n
def self.build_mem_cache(*addresses)
addresses = addresses.flatten

0 comments on commit 1f34a79

Please sign in to comment.