From e3d88b794badbd5ededcf62d708b31009111f860 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sun, 8 Mar 2020 17:42:21 +0200 Subject: [PATCH] removed debug message --- src/Validator/Host.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Validator/Host.php b/src/Validator/Host.php index e42d0892..e0190801 100644 --- a/src/Validator/Host.php +++ b/src/Validator/Host.php @@ -61,7 +61,7 @@ public function isValid($value) if(!$urlValidator->isValid($value)) { return false; } -var_dump(parse_url($value, PHP_URL_HOST)); + if(in_array(parse_url($value, PHP_URL_HOST), $this->whitelist)) { return true; }