[TYPO3-core] RFC #14021: Tweak: Simplify the code to get nested GET Parameters with TS
Dmitry Dulepov
dmitry.dulepov at gmail.com
Wed Apr 7 13:15:05 CEST 2010
Hi!
Sebastian Gebhard wrote:
> Problem:
> The functionality to retrieve GET Parameters with statements like
> tt_news|uid can be simplified.
> The code resolves the first level by itself and passes the rest to
> tslib_cObj::getGlobal() to retrieve all levels below.
> But getGlobal() can do all the work (also the first level).
>
> Solution:
> Use only getGlobal() to retrieve the GET Parameter.
Sorry but -1 because it leaves _POST out. Original code uses _GP, you code uses only _GET. This is a compatibility issue.
--
Dmitry Dulepov
TYPO3 expert / TYPO3 security team member
Read more @ http://dmitry-dulepov.com/
More information about the TYPO3-team-core
mailing list