DS-3542: Only trust X-Forwared-For headers from trusted proxies

This commit is contained in:
Tom Desair
2018-08-23 13:59:21 +02:00
parent b0e076ddb1
commit bd464e03f5
15 changed files with 269 additions and 135 deletions

View File

@@ -38,7 +38,6 @@ public class MockSolrLoggerServiceImpl
File locationDb = new File(locationDbPath);
locationDb.createNewFile();
locationService = new DatabaseReader.Builder(locationDb).build();
useProxies = configurationService.getBooleanProperty("useProxies");
}
}