Johann Fradj
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
Indeed, but why make things simple when they can be complicated... :-x I think that was because I had just learned how to use compiler pragma ;-)