[TYPO3-core] RFC Bug #10663: felogin - Invalid XHTML Code in logout form

Oliver Hader oliver at typo3.org
Thu Mar 19 17:39:28 CET 2009


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=10663

Branches: TYPO3_4-2, Trunk

Problem:
The logout form is invalid by W3C specification. There're unescaped
ampersands in the markup code. Example:
<form action="page.html?&page=" target="_top" method="post">

Solution:
Add htmlspecialchars() to the part generating that URL in
tx_felogin_pi1::getPageLink().

Notes:
The behaviour can be tested with having preserveGETvars enabled in the
TypoScript configuration.
Thanks to Stefan Lang for pointing this out and Stano Paska for writing
an initial patch.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0010663.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090319/ec79ad41/attachment-0001.txt 


More information about the TYPO3-team-core mailing list