[BUGFIX] Fix query in abbreviation plugin of rtehtmlarea 64/35864/4
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Wed, 7 Jan 2015 16:04:04 +0000 (17:04 +0100)
committerStanislas Rolland <typo3@sjbr.ca>
Mon, 12 Jan 2015 16:27:40 +0000 (17:27 +0100)
commit174f1ced97447513c78b0b4b1f53b7a792d9d50f
tree707c0e2e7dd9d4b9aa18d9f000f1dc65dbe28141
parent5e69db46a98c67c7eaacf339facc7742133c6f74
[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/35864
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
typo3/sysext/rtehtmlarea/Classes/Extension/Abbreviation.php