コントローラーに渡されたすべての文字列値をサニタイズする必要がありますか、それともエディターのようなリッチ html だけですか?
input 、 type テキストフィールドはどうですか?
<input type="text" name"test1" value="<script></script>" />
public ActionResult TestAction(string test1){ //save in db }
コントローラーに渡されたすべての文字列値をサニタイズする必要がありますか、それともエディターのようなリッチ html だけですか?
input 、 type テキストフィールドはどうですか?
<input type="text" name"test1" value="<script></script>" />
public ActionResult TestAction(string test1){ //save in db }