修复xss过滤后格式出现的异常

This commit is contained in:
RuoYi 2021-09-25 17:12:37 +08:00
parent 821f40882f
commit 7479ff4b06

View File

@ -387,7 +387,7 @@ public final class HTMLFilter
{ {
paramValue = processParamProtocol(paramValue); paramValue = processParamProtocol(paramValue);
} }
params.append(' ').append(paramName).append("=\"").append(paramValue).append("\""); params.append(' ').append(paramName).append("=\\\"").append(paramValue).append("\"");
} }
} }