Cache key, with periods as part of key, will not work

Oct 30, 2014 at 8:51 PM
When bringing this library into our current solution, I noticed that if we used periods as part of the key, the FileCache will not work properly.
string filePath = Path.Combine(directory, Path.GetFileNameWithoutExtension(FileName) + ".dat");
I'm not sure what the original intentions were of stripping out the extension.


Oct 31, 2014 at 3:55 PM

This is correct. It's my intention to switch to hashed file names (as suggested by another user) at some point, which would fix the issue. However, this project is fairly back-burner at the moment. If you'd like to submit a patch, I'll incorporate it into the main source tree.