diff --git a/scripts/pi-hole/php/sub.php b/scripts/pi-hole/php/sub.php index a2e69822..8d967707 100644 --- a/scripts/pi-hole/php/sub.php +++ b/scripts/pi-hole/php/sub.php @@ -16,8 +16,8 @@ if (empty($api)) { list_verify($type); } -// Escape shell metacharacters -$domains = explode(",",$_POST['domain']); +// Split individual domains into array +$domains = explode(" ",$_POST['domain']); require_once("func.php");