Actions
Bug #16856
closedIncorrect multi-byte string length check in checkValue_init
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-01-13
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In t3lib_TCEmain::checkValue_input used byte-oriented substr().
In case of input field (max length set to 20 chars) containing 20 chars in 2-byte utf-8 string it is reduced up to 20 BYTES = 10 chars.
Suggest to patch t3lib_TCEmain to use t3lib_cs::substr.
(issue imported from #M4781)
Actions