Bug #21521

t3lib_div::linkThisScript isn't xhtml compatibel

Added by Steffen Kamper over 5 years ago. Updated over 3 years ago.

Status:Rejected Start date:2009-11-10
Priority:Should have Due date:
Assigned To:Steffen Kamper % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version:4.3 Is Regression:
PHP Version:5.3 Sprint Focus:
Complexity:

Description

return of this function use unescaped "&"

Solution: add xhtmlMode which is set to TRUE by default

(issue imported from #M12545)

12545.diff Magnifier (881 Bytes) Administrator Admin, 2009-11-10 15:55

12545_v2.diff Magnifier (892 Bytes) Administrator Admin, 2009-11-10 19:28


Related issues

related to Core - Bug #21511: Lots of HTML, JS and/or CSS errors force IE8 to switch to... Closed 2009-11-09

History

#1 Updated by Dmitry Dulepov over 3 years ago

  • Status changed from Accepted to Rejected
  • Target version deleted (-1)

This is not a correct solution. Just use htmlspecialchars() on the result of this function if you have to put it in links. You must do it anyway for security reasons, so do not add any extra parameters to the function.

Also available in: Atom PDF