[TYPO3-core] RFC: #14663: t3lib_utility_Client::getBrowserInfo returns gecko build date rather than version
Jigal van Hemert
jigal at xs4all.nl
Wed Jun 9 22:27:18 CEST 2010
Stanislas Rolland wrote:
> Le 2010-06-09 14:02, Stanislas Rolland a écrit :
>> Hi Steffen,
>>>
>>> after #14458 is committed, the patch doesn't apply clean.
>>>
>>> Here is the updated one, and an integrated test for it.
>>>
>> Thanks for this.
>>
>> +1 from reading and testing.
>>
> Oops! no, I think it should be:
>
> preg_match_all('/rv:([0-9\.]*)/', strtolower($userAgent), $version);
Or
preg_match_all('/rv:(.*?)\)/', strtolower($userAgent), $version);
You'll never know what crazy revision "numbers" they will come up with ;-)
--
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-team-core
mailing list