whitelist taken into account although disabled
-
in one of the last releases, the isValid() function in lib/models/Validate.php got rewritten to say
$isValid = $checkWhitelist;
in line 30, changing the default behaviour from “if whitelist is disabled, anything not blacklisted is ok” to “if whitelist is disabled, everything is rejected, except if it’s blacklisted, then it’s rejected as well”
i propose to fix this by moving the intended
$isValid=true
inside theif ( 1 == $checkWhitelist ) {..
block
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘whitelist taken into account although disabled’ is closed to new replies.