diff --git a/src/include/ABSettings.php b/src/include/ABSettings.php index d81c1fb..18e7c87 100644 --- a/src/include/ABSettings.php +++ b/src/include/ABSettings.php @@ -82,7 +82,7 @@ public function __construct() { case 'allowedSources': $sources = explode("\r\n", $value); foreach ($sources as $sourceKey => $source) { - if (empty($source)) { + if (empty(trim($source))) { continue; // Skip empty lines } $sources[$sourceKey] = rtrim($source, '/');