[TYPO3-mvc] Forwarding action without loosing request parameters
Bastian Waidelich
bastian at typo3.org
Wed Nov 4 20:02:41 CET 2009
Thomas "Thasmo" Deinhamer wrote:
Hi Thomas,
> I changed the method to 'redirect()', but now the following accours:
>
> If I use method="post" in the <f:form> tag, it will redirect me to
> http://my-domain.tld//<title>.<id>.<type>.html?&tx_ext_plugin[action]=index&tx_ext_plugin[controller]=PluginController&cHash=<hash>
>
> The weird is, that the two "//" won't be recognized by TYPO3
It seems either your base URI contains two trailing slashes, or the
UriBuilder somehow creates URIs with a leading slash..
Can you debug
Tx_Extbase_MVC_Controller_AbstractController::redirectToURI()
by inserting s.th. like
debug($baseUri, 'baseUri');
debug($uri, 'uri);
exit;
before line 319 ($uri = $baseUri . (string)$uri;)
and post your results?
Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list