[BUGFIX] Ignore non-integer values for type in redirects 37/35037/3
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:44:00 +0000 (21:44 +0100)
commit180e9d505b485eb8b833e5608986c63473c46db0
tree598334cb12f9d9bbe284a97c46ced183b1997f5a
parenta6e0df4ba667c514d4bf0b5c2b025b1728d21d40
[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/35037
Reviewed-by: Cedric Ziel <cedric@cedric-ziel.com>
Tested-by: Cedric Ziel <cedric@cedric-ziel.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php