Permalink
Browse files

Merge branch 'hotfix/3445' into develop

Forward port #3445
  • Loading branch information...
2 parents 8f6c68b + 2eca9a8 commit bdfe2fc5d9f528e99c331fbf48cffc0882a5bdc8 @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 bdfe2fc

Please sign in to comment.