课程五

问题发布,敏感词和js标签过滤,多线程

问题发布:输入参数(String title, String content);首先对title和content进行js标签过滤,使用的HtmlUtils.htmlEscape()将title和content中的js标签编辑转义,再对title和content进行敏感词过滤,最后再将title和content插入到数据库中,

猜你喜欢

转载自www.cnblogs.com/laphome/p/10564169.html