[TYPO3-core] RFC #12230: Bug: Function tslib_cObj::crop() is not fully multibyte safe
Vladimir Podkovanov
podkovanov at gmail.com
Mon Jan 31 12:18:43 CET 2011
This is an SVN patch request.
Type: Bugfix
Bugtracker reference: http://bugs.typo3.org/view.php?id=12230
Branches: TYPO3_4-4, TYPO3_4-5, trunk
Problem:
tslib_cObj::crop() use not multibyte safe strlen() to determine if
string should be cropped it results in needless afterstring (...) even
if string wasn't truncated.
Solution:
Use multibyte safe strlen()
--
-rgds-
Vladimir
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12230_trunk.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110131/84d89268/attachment.asc>
More information about the TYPO3-team-core
mailing list