f171ac03c4
- 修复可重复读取请求体包装器的 ServletInputStream 状态判断 - 将 XSS 过滤器改为构造器注入配置,移除静态 Spring Bean 获取 - 增加 CORS 配置属性,支持通过 web.cors.* 配置跨域规则 - 优化请求日志参数处理,避免 JSON 解析异常影响主请求并限制日志长度 - 收敛请求体解析异常响应,避免向前端暴露底层异常细节
58 lines
1.8 KiB
XML
58 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<groupId>org.dromara</groupId>
|
|
<artifactId>ruoyi-common</artifactId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>ruoyi-common-web</artifactId>
|
|
|
|
<description>
|
|
ruoyi-common-web web服务
|
|
</description>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.dromara</groupId>
|
|
<artifactId>ruoyi-common-json</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SpringBoot Web容器 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- web 容器使用 jetty -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-jetty</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-captcha</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-crypto</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project>
|