ZF-11557: Zend_Http_UserAgent_AbstractDevice.php raises a notice


There is a notice coming from this class on following user agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; de-de) AppleWebKit/533.18.1 (KHTML, like Gecko)

Notice error is: Message: Undefined offset: 1 File: Zend/Http/UserAgent/AbstractDevice.php Line: 585


1 /Zend/Http/UserAgent/AbstractDevice.php(291): Zend_Http_UserAgent_AbstractDevice::extractFromUserAgent('Mozilla/5.0 (Ma...')

2 /Zend/Http/UserAgent/AbstractDevice.php(117): Zend_Http_UserAgent_AbstractDevice->_getDefaultFeatures()

3 /Zend/Http/UserAgent.php(851): Zend_Http_UserAgent_AbstractDevice->__construct('Mozilla/5.0 (Ma...', Array, Array)

4 /Zend/Http/UserAgent.php(559): Zend_Http_UserAgent->_createDevice()

5 Zend_Http_UserAgent->getDevice()


Also on following user agent: Mozilla/5.0 (iPad; U; CPU OS 4_3_3 like Mac OS X; de-de) AppleWebKit/533.17.9 (KHTML, like Gecko)

Fix for both user agents applied to trunk and 1.11 release branch