1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Make MemCacheStore work with Ruby 1.9 and -Ku

This commit is contained in:
Andrew White 2011-05-31 23:17:20 +01:00
parent 87762245e9
commit 1f34a79373

View file

@ -31,7 +31,7 @@ module ActiveSupport
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