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

master
RuoYi 3 years ago
parent 821f40882f
commit 7479ff4b06
  1. 2
      ruoyi-common/src/main/java/com/ruoyi/common/utils/html/HTMLFilter.java

@ -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("\"");
} }
} }

Loading…
Cancel
Save