[TYPO3-core] RFC #16892: Bug: t3lib_utility_Client::getBrowserInfo() fails to detect Chrome

Jeff Segars jsegars at alumni.rice.edu
Mon Jan 10 22:15:19 CET 2011


On 1/2/11 3:30 PM, Andreas Lappe wrote:
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=16892
>
> Branches:
> trunk
>
> Problem:
> t3lib_utility_Client::getBrowserInfo() detects Chrome as safari because
> the UserAgent has Safari as last entry.
>
> Solution:
> The attached patch fixes it and adds a UnitTest to make sure it works
> and does not interfere with Safari, Konqueror etc.
>
> Notes:
> The test goes together with the tests posted in
> http://bugs.typo3.org/view.php?id=16878
>
> So long
> Andy

+1 on reading and testing.

Thanks,
Jeff


More information about the TYPO3-team-core mailing list