ZF-11749: Zend_Http_UserAgent_AbstractDevice raises a notice on Safari Mobile v5.1 UA with no language

Issue Type: Bug Created: 2011-09-19T10:14:09.000+0000 Last Updated: 2011-10-26T01:18:54.000+0000 Status: Resolved Fix version(s): - 1.11.12 (22/Jun/12)

Reporter: Marcin Gil (mgil) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Http_UserAgent

Related issues: Attachments:


There is a notice coming from this class on following user agent: Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A5313e Safari/7534.48.3

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


Posted by Adam Lundrigan (adamlundrigan) on 2011-10-26T01:18:54.000+0000

Fixed in trunk r24532 Merged to release-1.11 in r24533

No forward-port to ZF2 as this component is not in the public ZF2 Git repository

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.