[BUGFIX] Fix query in abbreviation plugin of rtehtmlarea 79/35979/3
authorStanislas Rolland <typo3@sjbr.ca>
Mon, 12 Jan 2015 20:13:11 +0000 (15:13 -0500)
committerStanislas Rolland <typo3@sjbr.ca>
Mon, 12 Jan 2015 21:19:29 +0000 (22:19 +0100)
commitb060611a3eb46bbaf59a867cae1d04442e2ab0f8
treedcffd82ec1ab4edbbe780810d441027f2c67eda7
parent42b9b0fa3647222e779787cdf949d611a96d3a46
[BUGFIX] Fix query in abbreviation plugin of rtehtmlarea

The comma seperated list of PIDs is not wrapped in quotes any more
to allow more than one page to be searched in.

Additionally invalid SQL queries with an empty IN parameter are
prevented by avoiding any query if the PID list is empty
and the user is locked to DB mounts.

Resolves: #64169
Releases: master, 6.2
Change-Id: I3cf35a900ea84a5f7110e8b262f7aaccb27f3267
Reviewed-on: http://review.typo3.org/35979
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/rtehtmlarea/Classes/Extension/Acronym.php