[TYPO3-dev] Web- address + returnUrl

Martin Kutschker martin.t.kutschker at n0spam.blackbox.net
Sat Jan 13 20:58:25 CET 2007


Tapio Markula schrieb:
> 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); 

You should use rawurlencode() on the query parts instead of 
htmlspecialchars(). Use htmlspecialchars only one of the whole URL.

Masi




More information about the TYPO3-dev mailing list