[TYPO3-core] FYI: Fixed bug #14662: htmlArea RTE: Should use t3lib_utility_Client::getBrowserInfo

Stanislas Rolland typo3 at sjbr.ca
Thu Jun 10 20:14:45 CEST 2010


Le 2010-06-10 14:13, Steffen Kamper a écrit :
> Hi,
>
> Franz Koch schrieb:
>> And hi again,
>>
>>> Reason seems to be that in class.tx_rtehtmlarea_base.php
>>> $this->client['browser'] is 'unknown' although 'useragent' is displaying
>>> the correct browser and the 'system' is also detected correctly.
>>> So it seems to be a issue with t3lib_utility_client that's not detecting
>>> the browser correctly as the preg_match fails for some reason. Didn't
>>> get it working so far using latest SVN revision.
>>
>> sorry for spamming the core list. I found the reason. The preg_match
>> fails on my server due to the '?<browser>' and '?<version>' patterns
>> which are only supported since php 5.2.2, but I'm running 5.2.0 (which
>> is the minimum requirement for TYPO3 4.3+ right?).
>>
>> Changing those patterns to '?P<browser>' and '?P<version>' solved the
>> issue for me.
>>
>
> good to know - i will change it to ?P<...> to be compatible with 5.2.0
>

Patch is on http://bugs.typo3.org/view.php?id=14693

Regards,
Stan




More information about the TYPO3-team-core mailing list