From 7fdafb2dcceb9101900f7cec634eed259e897a65 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 6 Aug 2019 22:06:44 +0200 Subject: [PATCH] Update comment and code in sub.php Signed-off-by: DL6ER --- scripts/pi-hole/php/sub.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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");