Details
Description
In Zend_Uri_Http::fromString, if $uri is false, throws InvalidArgumentException. But, InvalidArgumentException is not extends Zend_Exception.
if (is_string($uri) === false) {
throw new InvalidArgumentException('$uri is not a string');
}
should be
if (is_string($uri) === false) {
require_once 'Zend/Uri/Exception.php';
throw new Zend_Uri_Exception('$uri is not a string');
}
Issue Links
| This issue is related to: | ||||
| ZF-6212 | render function throws InvalidArgumentException |
|
|
|
Fixed in r14650.