Permalink
Browse files

AllowHtml - open a security threat (xss)

  • Loading branch information...
juanonsoftware
juanonsoftware committed Oct 19, 2015
1 parent 370aab0 commit fa82bf31ddcc8c9fd4d12d7d026177f6a1fe759e
Showing with 4 additions and 1 deletion.
  1. +4 −1 Demo.XBanking/Demo.XBanking/Models/LineItem.cs
@@ -1,9 +1,12 @@
namespace Demo.XBanking.Models
using System.Web.Mvc;
namespace Demo.XBanking.Models
{
public class LineItem
{
public int Amount { get; set; }
[AllowHtml]
public string Message { get; set; }
}
}

0 comments on commit fa82bf3

Please sign in to comment.