How to validate model for check < > inputs

后端 未结 0 634
日久生厌
日久生厌 2020-11-27 02:45

I need to prevent XSS attack. So I plan to validate my model by avoiding script tags inputs. I just tried this regex in my model.

    [RegularExp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题