HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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.