[TYPO3-dev] Checking validity of a code and &-chars

Tapio Markula tapio.markula at atwebteam.com
Thu Sep 21 13:26:52 CEST 2006


Hi

In the source code of Typo3 is much params. with just &

but making XCLASS they are harmful testing validity of
generated HTML.

Is is safe to use & + amp +; instead

in this kind of connection
editOnClick('&edit[pages]['.$id."]=edit",$this->backPath,''),$title);
if (($this->ext_CALC_PERMS&4 || $this->ext_CALC_PERMS&2) && 
!(isset($disableBigbuttonSet['move_page']))) 
$bArray[1]=$GLOBALS['SOBE']->doc->t3Button("document.location='".$this->backPath."move_el.php?table=pages&uid=".$id.'&returnUrl='.rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'))."';",$GLOBALS['LANG']->getLL('move_page'));

if & would not cause some much error messages, it would be easier
to found relevant warning/error messages




More information about the TYPO3-dev mailing list