[TYPO3-project-4-3] No page tree?

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Oct 26 16:14:45 CET 2009


Dan Osipov schrieb:
> I was able to replicate the problem, and found the cause:
> $MCONF['navFrameScriptParam']='&folderOnly=1';
> 
> When the alt_mod_frameset.php tries to read the navigation URL in line:
> $nav = t3lib_div::sanitizeBackEndUrl(t3lib_div::_GP('nav'));
> 
> $nav ends up empty, since t3lib_div::_GP('nav') contains a '&' symbol.
> I'll file it as a bug.

That is not the problem, since "&" is allowed in
t3lib_div::sanitizeBackEndUrl:

	$whitelistPattern = '/^[a-zA-Z0-9_\/\.&=\?]+$/';

meaning allowed are:

- letters and digits
- underscore ("_")
- slash ("/")
- dot (".")
- ampersand ("&")
- equals ("=")
- question mark ("?")

What I fear might be missing is a hyphen "-" the tilde "~" and the plus "+".

Might be one of these cases?

Cheers,
Ernesto


More information about the TYPO3-project-4-3 mailing list