We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 713f7e1 commit 03dc263Copy full SHA for 03dc263
AspNetSaml/Saml.cs
@@ -63,8 +63,7 @@ private static string EnsureCertFormat(string cert)
63
64
public void LoadXmlFromBase64(string response)
65
{
66
- UTF8Encoding enc = new UTF8Encoding();
67
- LoadXml(enc.GetString(Convert.FromBase64String(response)));
+ LoadXml(Encoding.UTF8.GetString(Convert.FromBase64String(response)));
68
}
69
70
//an XML signature can "cover" not the whole document, but only a part of it
0 commit comments