diff --git a/wire/core/Sanitizer.php b/wire/core/Sanitizer.php index 6e8ef08c..4b337ba9 100644 --- a/wire/core/Sanitizer.php +++ b/wire/core/Sanitizer.php @@ -842,6 +842,8 @@ class Sanitizer extends Wire { } else if($inBlacklist || !strlen(trim($c)) || ctype_cntrl($c)) { // character does not resolve to something visible or is in blacklist $replacements[] = $c; + } else if($whitelist === false) { + // whitelist disabled: allow everything that is not blacklisted } else { // character that is not in whitelist, double check case variants $cLower = $tt->strtolower($c);