[BUGFIX] T3editor: Honour fileDenyPattern on saving included TS 46/25046/2
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 29 Oct 2013 11:31:23 +0000 (12:31 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Tue, 29 Oct 2013 12:40:38 +0000 (13:40 +0100)
commit82da3035013aa3fd68472dedca575f59d032a14d
tree325ff9597a58a7b4e9f597c2b4c4ab7a436ac51f
parent6aa2e7fa50484f480dac9635356ecbef08801527
[BUGFIX] T3editor: Honour fileDenyPattern on saving included TS

fileDenyPattern is only checked on loading so far.
Needs to be added for saving as well taken into account, since
otherwise an arbitrary file (including .php) can be overwritten.

Change-Id: Ia7edc83c8954942fb848746abc0980a304a1a6df
Resolves: #53195
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/25046
Reviewed-by: Francois Suter
Tested-by: Francois Suter
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php