ZF-10869: Zend_Http_UserAgent_AbstractDeviceTest::testMatchMobileOtherHeaders() unit test failure.

Description

{panel} 1) Zend_Http_UserAgent_AbstractDeviceTest::testMatchMobileOtherHeaders Failed asserting that is true. {panel}

The same error is generated by different code within trunk and 1.11 release branch:

trunk: {panel} $userAgent = 'Opera/5.12 (Macintosh;US;PPC) [en]'; $this->assertTrue(Zend_Http_UserAgent_Mobile::match($userAgent, array( 'HTTP_USER_AGENT' => $userAgent ))); {panel}

{panel} $server = array( 'http_accept' => 'midp' ); $this->assertTrue(Zend_Http_UserAgent_Mobile::match($userAgent, $server)); {panel}

It seems, that the problem is produced by some of latest fixes, but corresponding changes were not merged into release branch.

Comments

PS It looks like large enough part of new commits were not merged into release branch yet. That would be good to have it done, since new release is coming soon.

Fixed on the 1.11 release branch; had to merge 3 commits from trunk to the branch.