[TYPO3-core] FYI72: #15130: Backend search does not find non–latin1 characters

Dmitry Dulepov dmitry at typo3.org
Thu Jul 15 11:07:28 CEST 2010


Hi!

This is SVN patch request.

Type: bug

BT reference: http://bugs.typo3.org/view.php?id=15130

Branches: 4.3, 4.4, trunk

Problem: If the user types non–latin characters to the Backend search,
nothing will be found. I used latvian (ā, ē, ī, š, č) characters in
combination with regular english characters. Also russian characters cannot
be found. This becomes a real problem if you have thousands of users with
russian names and want to find them by name in the Backend. The problem is
in the incorrect JSON creation for search.

Solution: remove unnecessary rawurlencode() on JSON parameters. That
creates double encoding for any non–latin1 data.

How to reproduce: create an FE user with non–latin symbols in the user
name. Try to search for it.

-- 
Dmitry Dulepov
TYPO3 core&security teams member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15130.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100715/ebbb5e4c/attachment.asc>


More information about the TYPO3-team-core mailing list