[TYPO3-core] RFC #5381: htmlspecialchars and noBlur for tt_content.menu

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Jun 15 11:29:12 CEST 2009


Susanne Moog wrote: on 13.05.2009 17:12:

> This is an SVN patch request.
> 
> Type: Feature, Cosmetic, Nobrainer
> 
> BT Reference: http://bugs.typo3.org/view.php?id=5381
> 
> Branch: trunk
> 
> Problem:
> The tt_content.menu.default is missing an htmlspecialchars and a noBlur
> that is there for all the other menu types.
> 
> Solution:
> Add them.

That is not entirely correct. The .default is used on all other menu
types except the "sitemap": either we have a < .default or a < .1, which
is already a copy of .default. So in fact changing .default will
influence all current menu types, except "Sitemap".

Your patch affect:

"Menu of these pages"
"Menu of subpages to these pages"
"Menu of subpages to these pages (with abstract)"
"Recently updated pages"
"Related pages (based on keywords)"
"Menu of subpages to these pages + sections - liststyle"

It doesn't affect:

"Sitemap - liststyle"
"Section index (pagecontent w/Index checked - liststyle)"


Apart from that I think it is welcome to apply htmlspecialchars by
default on text-menu labels, so that we guarantee XHTML-validity on
default output (even if a page is called "Test > Test").

So +1 from me.

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list