[BUGFIX] Ignore non-integer values for type in redirects 93/34193/5
authorBjörn Fromme <mail@bjo3rn.com>
Thu, 4 Dec 2014 13:48:16 +0000 (14:48 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Thu, 4 Dec 2014 20:48:13 +0000 (21:48 +0100)
commitdae24a621c259d89ae490a37d9aa2f78927cb020
treefb61543ef5b073162946348d8c6ab31b2345c340
parentaa95a4f76727ba07de01f5ce9a469bf8e95fb4c0
[BUGFIX] Ignore non-integer values for type in redirects

For redirects the parameter for page type is not validated as integer
resulting in invalid redirect urls. This patch checks for a valid integer
value and ignores it silently otherwise.

Resolves: #62527
Releases: master, 6.2
Change-Id: I9fd4564a3e4e13e4d64e27e090221e71edf06ae9
Reviewed-on: http://review.typo3.org/34193
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php