Johann Fradj
Results
3
comments of
Johann Fradj
If you're using only paths as key, the fix you provided is great but in my case a lot of keys wasn't paths (they was regular keys) so using a...
Just extract your encoding function out of the `EGOCache cachePathForKey` function: ``` NSString *encodeKey = (NSString *)CFURLCreateStringByAddingPercentEscapes( NULL, (CFStringRef)key, NULL, (CFStringRef)@"!*'();:@&=+$,/?%#[]", kCFStringEncodingUTF8); NSData *data = [[EGOCache clearCache] dataForKey:encodeKey]; ```
Changes applied