[BUGFIX] Simulate user: Fix user selection 54/39754/3
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Tue, 26 May 2015 18:01:25 +0000 (20:01 +0200)
committerNicole Cordes <typo3@cordes.co>
Wed, 27 May 2015 08:08:36 +0000 (10:08 +0200)
commitc93af24119b4af061e30e755afde78dc79eade52
treefaa444c9eddbf272239ad8b9e7bf3548c9edcdfe
parent60fc3c8c48d4a6dad58a1ae785c0d79a46339ec3
[BUGFIX] Simulate user: Fix user selection

This is a follow up fix for #66801 which hides too many users as
an underscore (_) is a wildcard for a single char in SQL LIKE queries.
It also ensures proper quoting of the string value to be compatible with
databases that enforce proper query syntax.

Resolves: #67154
Resolves: #67093
Related: #66801
Releases: master
Change-Id: If0b78cd4e66c3420c832ad98aa5717034f619639
Reviewed-on: http://review.typo3.org/39754
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
typo3/sysext/setup/Classes/Controller/SetupModuleController.php