[BUGFIX] Fix script URLs for traditional modules 26/33626/4
authorHelmut Hummel <helmut.hummel@typo3.org>
Thu, 30 Oct 2014 16:44:11 +0000 (17:44 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Sat, 1 Nov 2014 20:48:56 +0000 (21:48 +0100)
commit737613db4d8c2eedbee2e3e5012d221e00cae6ad
tree5713ae29ade26919baae6442c67f0d9cdb0abad3
parent83a23e34f0ae5d155377cb7d56e12e927304f43b
[BUGFIX] Fix script URLs for traditional modules

The introduction of CSRF protection for backend modules
introduced a regression for traditional modules.

Previously the script was calculated correctly if
not provided. Now API calls without providing the script
are assumed to be mod.php dispatched.

Fix that by checking if the M GET argument was sent
and fall back to traditional URL calculation.

Resolves: #62569
Releases: 6.2, master
Change-Id: I26d16acb513d678f117e0b645fe3eefebf909e3d
Reviewed-on: http://review.typo3.org/33626
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/backend/Classes/Utility/BackendUtility.php