Bug #25047
closedinput checking in t3lib_div::makeInstance is too narrow
100%
Description
The input check does a strict string comparison. If NULL is passed, the result will be a reflection exception that is hard to trace instead of the "invalid argument exception" you would get for an empty string.
Solution: also check for NULL in the input check.
triggered by: http://forge.typo3.org/issues/13074
See also: http://bugs.typo3.org/view.php?id=15923
(issue imported from #M17602)
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Id7911229f90d1aa0f6ce5830a434bceb4ab61da5 has been pushed to the review server.
It is available at http://review.typo3.org/3446
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change Id7911229f90d1aa0f6ce5830a434bceb4ab61da5 has been pushed to the review server.
It is available at http://review.typo3.org/3446
Updated by Mr. Hudson over 13 years ago
Patch set 3 of change Id7911229f90d1aa0f6ce5830a434bceb4ab61da5 has been pushed to the review server.
It is available at http://review.typo3.org/3446
Updated by Mr. Hudson over 13 years ago
Patch set 4 of change Id7911229f90d1aa0f6ce5830a434bceb4ab61da5 has been pushed to the review server.
It is available at http://review.typo3.org/3446
Updated by Björn Pedersen over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset b6ccd12f0c09d47cbc90cbfbea2f084d698d007f.