javaxss问题
-
javaxss问题(javaxss防御)
用JAVA做一个网站,现在要做防止XSS攻击,请问怎么防止这种攻击 过滤特定符号pre t="code" l="java" public static String guolv(String a) {a = a.replaceAll("%22", "");a = a.replaceAll("%27", "");a = a.replaceAll("%3E", "");a = a.replaceAll("%3e", "");a = a.replaceAll("%3C", "");a = a.replaceAll(...