-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FileCache.SerializableCacheItemPolicy fix
Removed BinaryFormatter usage from SerializableCacheItemPolicy. SerializableCacheItemPolicy now (de)serializes via functions: - Serialize() - Deserialize() These use BinaryWriter/BinaryReader instead of the security risk BinaryFormatter. SerializableCacheItemPolicy now use a magic header number like the cached files themselves do, in order to differentiate BinaryFormatter vs new policies.
- Loading branch information
1 parent
d738c50
commit 82ff59b
Showing
2 changed files
with
97 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters