We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9814595 commit cf00f66Copy full SHA for cf00f66
opengrok-web/src/main/java/org/opengrok/web/api/v1/filter/IncomingFilter.java
@@ -116,6 +116,8 @@ public void filter(final ContainerRequestContext context) {
116
return;
117
}
118
119
+ // In a reverse proxy environment the connection appears to be coming from localhost.
120
+ // These request should really be using tokens.
121
if (request.getHeader("X-Forwarded-For") != null || request.getHeader("Forwarded") != null) {
122
logger.log(Level.FINEST, "denying request to {0} due to existence of forwarded header in the request",
123
path);
0 commit comments