Permalink
Browse files

Merge branch 'hotfix/3445'

Close #3445
  • Loading branch information...
2 parents a3d85e4 + 2eca9a8 commit 4b3757f66cc191faa6a393a78e488ad284752bfd @weierophinney weierophinney committed Jan 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Validator/Hostname.php
@@ -519,7 +519,7 @@ public function isValid($value)
$regexChars = array(0 => '/^[a-z0-9\x2d]{1,63}$/i');
if ($this->getIdnCheck() && isset($this->validIdns[strtoupper($this->tld)])) {
if (is_string($this->validIdns[strtoupper($this->tld)])) {
- $regexChars += include ($this->validIdns[strtoupper($this->tld)]);
+ $regexChars += include __DIR__ .'/'. $this->validIdns[strtoupper($this->tld)];
} else {
$regexChars += $this->validIdns[strtoupper($this->tld)];
}

0 comments on commit 4b3757f

Please sign in to comment.