[Pushed] contact form not stripping html code in emails
#6
The parser does insert these tags indeed (https://github.com/mybb/mybb/blob/featur...t.php#L217).
The characters are escaped too because these e-mails were presumably intended to be sent as HTML, but aren't - the default type is defined as text, not text/html: https://github.com/mybb/mybb/blob/featur...s.php#L527, which could be overridden here: https://github.com/mybb/mybb/blob/featur...t.php#L230.
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply


Messages In This Thread
RE: contact form not stripping html code in emails - by Devilshakerz - 2015-06-25, 08:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)