mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
PROXY_HEADER should be static, so it does not get serialized into the crumb configuration.
This commit is contained in:
1 parent
0e3c7a95bf
commit
49c731fc03
1 file changed
+1
-1
@@ -100,7 +100,7 @@ public class DefaultCrumbIssuer extends CrumbIssuer {
|
||||
return false;
|
||||
}
|
||||
|
||||
private final String PROXY_HEADER = "X-Forwarded-For";
|
||||
private static final String PROXY_HEADER = "X-Forwarded-For";
|
||||
|
||||
private String getClientIP(HttpServletRequest req) {
|
||||
String defaultAddress = req.getRemoteAddr();
|
||||
|
||||
Reference in new issue
Block a user