diff options
Diffstat (limited to 'samples/RelyingPartyWebForms/TracePage.aspx.cs')
-rw-r--r-- | samples/RelyingPartyWebForms/TracePage.aspx.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/RelyingPartyWebForms/TracePage.aspx.cs b/samples/RelyingPartyWebForms/TracePage.aspx.cs index 799e99a..f859a41 100644 --- a/samples/RelyingPartyWebForms/TracePage.aspx.cs +++ b/samples/RelyingPartyWebForms/TracePage.aspx.cs @@ -7,7 +7,7 @@ public partial class TracePage : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { - this.placeHolder1.Controls.Add(new Label { Text = Global.LogMessages.ToString() }); + this.placeHolder1.Controls.Add(new Label { Text = HttpUtility.HtmlEncode(Global.LogMessages.ToString()) }); } protected void clearLogButton_Click(object sender, EventArgs e) { |