Skip to content

Commit

Permalink
Fix bug where the referral server sometimes had a space in it and fai…
Browse files Browse the repository at this point in the history
…led DNS lookup

Signed-off-by: Ricky Elrod <ricky@elrod.me>
  • Loading branch information
relrod committed Aug 5, 2016
1 parent 67ceaf9 commit e0cf443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/applications/whois/resources/dagd_whois.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function fetchWhoisServer() {
$this->whois_server = trim($exp[0]);
$this->whois_port = trim($exp[1]);
} else {
$this->whois_server = $whois_server;
$this->whois_server = trim($whois_server);
}

$blacklisted_referrals = DaGdConfig::get('whois.referral_blacklist');
Expand Down

0 comments on commit e0cf443

Please sign in to comment.