Bug #9248
String length related ErrorChecks not multibyte compatible
| Status: | Closed | Start date: | 2010-08-11 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | Mathias Bolt Lesniak | % Done: | 100% |
|
| Category: | Validator | |||
| Target version: | Beta 5 (v0.9.8) | |||
| Votes: | 0 |
Description
Hi!
Because ErrorChecks like Tx_Formhandler_ErrorCheck_MaxLength uses strlen() to find the length of strings it gives the byte length instead of real string length when dealing with multibyte strings (like UTF-8) and non-ASCII characters.
I'll fix this and run some tests.
- Mathias
Associated revisions
Bug #9248: String length related ErrorChecks not multibyte compatible
Bug #9248: String length related ErrorChecks not multibyte compatible
History
Updated by Reinhard Führicht almost 3 years ago
Nice find. Go ahead and commit as soon as you are ready.
Updated by Mathias Bolt Lesniak almost 3 years ago
- Status changed from Accepted to Closed
- % Done changed from 0 to 100
Committed (36867).