[TYPO3-core] FYI24 #10948: Validation issues in typo3/alt_db_navframe.php

Steffen Kamper info at sk-typo3.de
Tue Apr 21 17:22:22 CEST 2009


Hi Patrick,

Patrick Broens schrieb:
> Branches: Trunk
> 
> Problem:
> There are two validation issues
> 1. unescaped & or unknown entity "&id"
> 2. <a> unexpected or duplicate quote mark
> 
> Solution:
> 1. On line 275 change &id= to &amp;id=
> 2. On the same line remove the double quote at the end (this is actually
> an error)
> 
> Remarks:
> There are actually more warnings:
> <a> proprietary attribute "oncontextmenu"
> This is because oncontextmenu is not a valid javascript event of the
> anchor tag. I will have a look at it to get this event out of the tag
> and add proper event listeners to it in the future.
> I added this note before anybody shouts this is also an issue. I'm aware
> of it.
>

yes, that's true, it's not valid but used very often. An alternative 
would be: onmousedown="if (event.button==2) ..."

vg Steffen

> Notes:
> I consider this a no-brainer, as it does not change any functionality,
> only proper markup.
> 
> Cheers,
> 
> Patrick
> 


More information about the TYPO3-team-core mailing list