method
normalize_key
v6.1.3.1 -
Show latest stable
- Class:
ActiveSupport::Cache::MemCacheStore
normalize_key(key, options)private
Memcache keys are binaries. So we need to force their encoding to binary before applying the regular expression to ensure we are escaping all characters properly.