CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #9248

String length related ErrorChecks not multibyte compatible

Added by Mathias Bolt Lesniak almost 3 years ago. Updated over 2 years ago.

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

Revision 36867
Added by Mathias Bolt Lesniak almost 3 years ago

Bug #9248: String length related ErrorChecks not multibyte compatible

Revision 36867
Added by Mathias Bolt Lesniak almost 3 years ago

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).

Also available in: Atom PDF