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)
Updated by Art Trushin almost 18 years ago
Sorry, I have made a typing error in Summary: must be "checkValue_input"
Updated by Christian Buelter about 14 years ago
This bug can be closed, it is fixed in current trunk
The function checkValue_input now uses $GLOBALS['LANG']->csConvObj->substr.
I guess somewhere there is a related enty, but I don't know it's number.
Updated by Stefan Galinski over 11 years ago
- Status changed from New to Closed
- Target version deleted (
0) - PHP Version deleted (
4)
Actions