[BUGFIX] BackendUtility::viewOnClick() called with non-integer 64/23064/4
authorOliver Hader <oliver@typo3.org>
Thu, 8 Aug 2013 10:48:24 +0000 (12:48 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Fri, 11 Oct 2013 15:53:40 +0000 (17:53 +0200)
commit9b4462ba8b0ce2a23c2db306a515ab73af7b07d6
tree57275e7504b1b24666d019f0a3aa471472be56c5
parentd910b2b9d023c705d86a59b45bb61eee04dbf3c6
[BUGFIX] BackendUtility::viewOnClick() called with non-integer

The origin is in DatabaseRecordList::makeControl() that
tries to create a preview link with the page id "243#33163"
- more strict checks will deny this request because it's not
the expected integer value. Thus, BackendUtility::viewOnClick()
is called with a string instead of an integer.
This happens in the regular list module in the TYPO3 backend.
It's not critical if hooks and further processors use intval() on the
argument, but is bad if methods expect the defined integer value.

Change-Id: Ib66c1ee219b67e51d534f11fbf1eaa330476ca93
Fixes: #50912
Releases: 4.5, 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/23064
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php