Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.

Processing quotes in e-mail subjects

I don't know if this is a widespread thing or something specific to my Vanilla 3.3 install, but for years whenever someone creates a thread with "quotes" in the title, e-mail notifications will have HTML special shorthands in their subject lines, e.g. "quotes"

I fixed this by just parsing this in with the addition of one line ./library/core/class.email.php:

public function subject($subject) {
    $subject = str_replace('"', '"', $subject);

Interested to know if there's a better way or if this is a known issue or what. I vaguely recall raising it years ago and getting nowhere with it.

Sign In or Register to comment.