Project

General

Profile

Actions

Bug #17272

closed

'lower' TCA specification may fail with non-ascii characters

Added by Dmitry Dulepov about 17 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-05-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

TCEmain does not use CSconv class while converting TCA strings to lower case but uses strtolower, which is not safe for non-ascii encoding.

The attached patch changes it.

(issue imported from #M5550)


Files

bug_5550.patch (1.14 KB) bug_5550.patch Administrator Admin, 2007-05-02 15:38
bug_5550_v2.patch (1.28 KB) bug_5550_v2.patch Administrator Admin, 2007-05-03 11:18

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #14500: Domain Record with umlaut Domains not workingClosed2005-01-18

Actions
Has duplicate TYPO3 Core - Bug #17389: strtolower and strtoupper in evaluation of 'input'-type values nonsense when using UTF-8 enabled backendClosed2007-06-16

Actions
Actions #1

Updated by Martin Kutschker about 17 years ago

$GLOBALS['LANG'] has an instance of t3lib_cs ready that you can reuse.

Note: that according to the comments on top of the file $GLOBALS['LANG'] is not a requirement.

Actions #2

Updated by Dmitry Dulepov about 17 years ago

Thanks for hint. The rest of TCEmain also uses $LANG, so I took opportunity :)

Actions #3

Updated by Dmitry Dulepov about 17 years ago

I've added a patch that uses $LANG's csconv objects. Thanks again, Masi! :)

Actions #4

Updated by Dmitry Dulepov almost 17 years ago

rev 2344

Actions

Also available in: Atom PDF