使用Jsoup可以有效的过滤不安全的代码。 ... return Jsoup.clean(content, "", whitelist, outputSettings); ... Jsoup过滤http请求,防止Xss攻击
確定! 回上一頁