Add Authorize to sensitive headers in zuul proxy
This commit is contained in:
@@ -1263,7 +1263,7 @@ route, e.g.
|
||||
routes:
|
||||
users:
|
||||
path: /myusers/**
|
||||
sensitiveHeaders: Cookie,Set-Cookie
|
||||
sensitiveHeaders: Cookie,Set-Cookie,Authorization
|
||||
url: https://dowstream
|
||||
----
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@ public class ZuulProperties {
|
||||
private Boolean retryable;
|
||||
|
||||
private Set<String> sensitiveHeaders = new LinkedHashSet<>(
|
||||
Arrays.asList("Cookie", "Set-Cookie"));
|
||||
Arrays.asList("Cookie", "Set-Cookie", "Authorization"));
|
||||
|
||||
public ZuulRoute(String text) {
|
||||
String location = null;
|
||||
|
||||
Reference in New Issue
Block a user