[TYPO3-mvc] Why only plugin-GET-vars are put to arguments put all PUT-vars?

Joerg Schoppet joerg at schoppet.de
Thu Aug 6 15:04:44 CEST 2009


Hi,

within Tx_Extbase_MVC_Web_RequestBuilder::build() there is the following 
part:
<snip>
                 $GET = t3lib_div::_GET('tx_' . 
strtolower($this->extensionName) . '_' . strtolower($this->pluginName));
                 if (is_array($GET)) {
                         foreach ($GET as $argumentName => $argumentValue) {
                                 $request->setArgument($argumentName, 
$argumentValue);
                         }
                 }
                 // POST
                 if ($request->getMethod() === 'POST') {
                         if (is_array($_POST)) {
                                 foreach ($_POST as $argumentName => 
$argumentValue) {
 
$request->setArgument($argumentName, $argumentValue);
                                 }
                         }
                 }
</snip>

Is there a reason, why the GET-vars are cut-down to only plugin-specific 
stuff by not the POST-vars?


Joerg


More information about the TYPO3-project-typo3v4mvc mailing list