Task #39061
Labels.php htmlspecialchars before hook
| Status: | Resolved | Start date: | 2012-07-18 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Georg Ringer | % Done: | 100% |
|
| Category: | Backend | |||
| Target version: | 2.0.0 | |||
| TYPO3 Version: | 4.7 | Has patch: | No | |
| PHP Version: | 5.3 | Complexity: | ||
| Votes: | 0 |
Description
Hi guys!
Is it possible to move line 125 ($title = htmlspecialchars($title);) of Classes/Hooks/Labels.php to before the user hook.
I use the hook to display thumbs in media rows, and I don't want html to be HSC'ed.
If anyone is interested in how to implement those thumbs, write me.
Associated revisions
[TASK] Move hsc() call in Labels Hook
Moving the htmlspecialchars before the hook makes it
possible to do a bit more there.
Change-Id: I78267a6c421df0bbf9af1073515b7ceee77b032f
Resolves: #39061
History
Updated by Gerrit Code Review 10 months ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13087
Updated by Georg Ringer 10 months ago
- Category set to Backend
- Status changed from New to Resolved
- Assignee set to Georg Ringer
- Target version set to 2.0.0
- % Done changed from 0 to 100
solved but be aware of appying hsc() where you need it yourself to prevent possible XSS