[TYPO3-dev] Bug/Feature request for t3lib_div::_GP (and alike)
Martin Kutschker
martin.kutschker-no at spam-blackbox.net
Fri Jun 6 13:56:38 CEST 2008
Franz Koch schrieb:
> Hi Masi,
>>> so you really get ALL your extension/key related values? I'm just
>>> curious why it's been done how it's done. For me this clearly is a
>>> bug and I don't see any security or other issues with it because
>>> _POST is overruling _GET in the merged array. What do you guys think?
>>
>> So you want to override POST with GET, right?
>
> No, I'd like those methods to use a merged _GET/_POST array for
> returning their results, coming from t3lib_div::GParrayMerged, returning
> array (where _POST is overriding _GET(!)) instead of the lousy
> if-condition there.
??? The condition does for *one* requested value exactly the same as an
array merging functions does for all keys. I don't get your point.
> Btw. - the name of the functions is also misleading, because 'GP'
> assumes that first _GET is processed and _POST is second ;)
I agree with you, the name is confusing a bit.
>> Or if not why don't you use t3lib_div::_GET() or access $_GET directly?
> As Steffen said - I used a condition where I don't have influence on that.
I missed/forgot that one.
Masi
More information about the TYPO3-dev
mailing list