Skip to content

Commit

Permalink
removed debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
eldadfux committed Mar 8, 2020
1 parent bb91b1d commit e3d88b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validator/Host.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e3d88b7

Please sign in to comment.