[TYPO3-dev] Web- address + returnUrl

Tapio Markula tapio.markula at atwebteam.com
Sat Jan 13 10:57:53 CET 2007


Hi

How to define returnUrl correctly

I would make some specific returnUrl for page
modules, which has some extra parameters

$returnUrl='&returnUrl='.htmlspecialchars(t3lib_extMgm::siteRelPath('templavoila').'mod1/index.php?id='.$id.$thisUser.$languagePar);
and
$returnUrl='&returnUrl='.t3lib_div::getIndpEnv('TYPO3_SITE_URL') . 
htmlspecialchars(TYPO3_mainDir.'sysext/cms/layout/db_layout.php?id='.$this->id.$function.$thisUser.$languagePar);
		
the web-address is something like
alt_doc.php?....returnUrl=...db_layout.php?...&SET[function]=0';


the web address might have twice http://

It seems that last parameters might get lost
at least
t3lib_div::debug($returnUrl);
doesn't show all parametres
How to code the returnUrl correctly?
		




More information about the TYPO3-dev mailing list