[TYPO3-core] RFC: Bug #13972: cropHTML uses faulty reg exp for HTML entities
Jochen Rau
jochen.rau at typoplanet.de
Thu Apr 15 23:12:31 CEST 2010
On 15.04.10 23:03, Jigal van Hemert wrote:
> Martin Kutschker wrote:
>> Jochen Rau schrieb:
>>> IMO the proposed solution (with a corrected range from 2 to 8) is the
>>> best tradeoff between performance and the risk of not cropping exactly
>>> at the given position.
>>
>> Why any limit at all? I see no length restriction in the mentioned spec.
>
> I think it's introduced to limit the error in length if an "invalid"
> entity-like pattern is found.
You are right, jigal. That were my ulterior motives.
Regards
Jochen
More information about the TYPO3-team-core
mailing list