Merged in feature/81-dev-dev01 (pull request #5)

auto-patch  81-dev-dev01-2023-12-05T22_45_26

* auto-patch  81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
Tony Volpe
2023-12-05 23:05:59 +00:00
parent ba16964e7a
commit 725d3043d5
1463 changed files with 142461 additions and 89421 deletions

View File

@@ -131,7 +131,7 @@ class wfWAFWordPressRequest extends wfWAFRequest {
continue; //This was an array so we can skip to the next item
}
$skipToNext = false;
$trustedProxyConfig = wfWAF::getInstance()->getStorageEngine()->getConfig('howGetIPs_trusted_proxies', null, 'synced');
$trustedProxyConfig = wfWAF::getInstance()->getStorageEngine()->getConfig('howGetIPs_trusted_proxies_unified', null, 'synced');
$trustedProxies = $trustedProxyConfig === null ? array() : explode("\n", $trustedProxyConfig);
foreach (array(',', ' ', "\t") as $char) {
if (strpos($item, $char) !== false) {