Permalink
Browse files

Merge branch 'hotfix/3445' into develop

Forward port #3445
  • Loading branch information...
2 parents 192d187 + 218ebf8 commit 31c2394f175ce471b9b1b35c1381582eb614ca5a @weierophinney weierophinney committed Jan 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Validator/Hostname.php
@@ -515,7 +515,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 31c2394

Please sign in to comment.