优化xss过滤后格式出现的异常

master
RuoYi 2 years ago
parent e73dbd470a
commit d0f399a66a
  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);
}
params.append(' ').append(paramName).append("=\\\"").append(paramValue).append("\"");
params.append(' ').append(paramName).append("=\\\"").append(paramValue).append("\\\"");
}
}

Loading…
Cancel
Save