[TYPO3-core] RFC: #14911: Validation errors in list view: & > &-amp;

Steffen Kamper info at sk-typo3.de
Tue Jun 29 12:22:17 CEST 2010


Hi Georg,

Am 29.06.2010 08:31, schrieb Georg Ringer:
> v2 fixes CGL too
>
> georg

result of your patch is correct. But iirc we decided not to write & 
in code but doing a HSC at the end, also for better readability and 
preventing double encoding.

So i suggest instead this way:
  $collapseIcon·=·'<a·href="'·.·htmlspecialchars(
	$this->listURL()·.·
	'&collapse['·.·$table·.·']='·.·($tableCollapsed·?·'0'·:·'1')
  )·.·'

Could you change your patch in this direction?

vg Steffen


More information about the TYPO3-team-core mailing list