FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add more types to the default disallow list of named types to be deserialized by AArnott · Pull Request #2263 · MessagePack-CSharp/MessagePack-CSharp · GitHub

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .cs  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
This file contains hidden or 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
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ public class MessagePackSerializerOptions
private static readonly HashSet<string> DisallowedTypes = new HashSet<string>
{
"System.CodeDom.Compiler.TempFileCollection",
"System.IdentityModel.Tokens.SessionSecurityToken",
"System.Management.IWbemClassObjectFreeThreaded",
"System.Security.Claims.ClaimsIdentity",
"System.Security.Principal.WindowsIdentity",
"System.Web.Security.RolePrincipal",
"System.Windows.Data.ObjectDataProvider",
"System.Windows.ResourceDictionary",
};

#if !DYNAMICCODEDUMPER
Expand Down

Back | FazBrowse Home | New Git URL