Skip to content

Commit

Permalink
Remove assembly version info from generic type arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Mar 6, 2021
1 parent 8e869d9 commit 2819534
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace MessagePack
public class MessagePackSerializerOptions
{
// see:http://msdn.microsoft.com/en-us/library/w3f99sx1.aspx
internal static readonly Regex AssemblyNameVersionSelectorRegex = new Regex(@", Version=\d+.\d+.\d+.\d+, Culture=[\w-]+, PublicKeyToken=(?:null|[a-f0-9]{16})$", RegexOptions.Compiled);
internal static readonly Regex AssemblyNameVersionSelectorRegex = new Regex(@", Version=\d+.\d+.\d+.\d+, Culture=[\w-]+, PublicKeyToken=(?:null|[a-f0-9]{16})", RegexOptions.Compiled);

/// <summary>
/// A collection of known dangerous types that are not expected in a typical MessagePack stream,
Expand Down

0 comments on commit 2819534

Please sign in to comment.