Contact Form does not encode html special characters
Posted: Thu Dec 04, 2008 11:50 am
I noticed this when getting my blog to validate XHTML.
The offending code is in serendipity_event_contactform.phpJust added htmlspecialchars() function around the blogTitle.
The offending code is in serendipity_event_contactform.php
Code: Select all
if ($this->selected()) {
$serendipity['head_title'] = $this->get_config('pagetitle');
$serendipity['head_subtitle'] = htmlspecialchars($serendipity['blogTitle']);
}
break;