hi,
i faced a situation where an ampersand character was used as part of the site name and the site slogan.
it turns out that the content of the $head_title contained un-escaped html characters and most of the time $head_title ends up being printed as the page title in the html header by <?php print $head_title ?> in page.tpl.php files
what do you think ?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | theme.inc_.check_plain.patch | 836 bytes | guardian |
| #2 | theme.maintenance.inc_.check_plain.patch | 858 bytes | guardian |
| theme.maintenance.inc_.check_plain.patch | 690 bytes | guardian |
Comments
Comment #1
guardian commentedComment #2
guardian commentednew patches
Comment #3
grendzy commentedsee #461938: Core should consistently filter_xss_admin() on $site_slogan and check_plain $site_name