mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 05:19:00 +08:00
⬆️ Upgrading dependencies.
This commit is contained in:
1 parent
079fbd1c27
commit
06b455d223
21 files changed
+88
-107
No files matched your search
+1
-1
@@ -60,7 +60,7 @@ public class PigxRequestGlobalFilter implements GlobalFilter, Ordered {
|
||||
public Mono<Void> filter(ServerWebExchange exchange, GatewayFilterChain chain) {
|
||||
// 1. 清洗请求头中from 参数
|
||||
ServerHttpRequest request = exchange.getRequest().mutate()
|
||||
.headers(httpHeaders -> httpHeaders.remove(SecurityConstants.FROM))
|
||||
.headers(httpHeaders -> {httpHeaders.remove(SecurityConstants.FROM);})
|
||||
.build();
|
||||
|
||||
// 2. 重写StripPrefix
|
||||
|
||||
Reference in new issue
Block a user