ruoyi-common/src/main/java/com/ruoyi/common/filter/XssHttpServletRequestWrapper.java
@@ -65,8 +65,8 @@ // xss过滤 json = HtmlUtil.cleanHtmlTag(json).trim(); final ByteArrayInputStream bis = IoUtil.toStream(json, StandardCharsets.UTF_8); byte[] jsonBytes = json.getBytes(StandardCharsets.UTF_8); final ByteArrayInputStream bis = IoUtil.toStream(jsonBytes); return new ServletInputStream() { @Override @@ -82,6 +82,12 @@ } @Override public int available() throws IOException { return jsonBytes.length; } @Override public void setReadListener(ReadListener readListener) { }