No html-izing in mail subject, please. No html-izing in mail subject, please.
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

No html-izing in mail subject, please.

Started by meimeiriver, April 13, 2006, 04:40:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

meimeiriver

Hello,

As to the usefulness of locking the bugs report thread, I dunno; but anyway, I found a problem with the e-card mail subject, analogous to this post:

http://forum.coppermine-gallery.net/index.php?topic=24152.msg110939

Except, in my case, I got a ' in the subject header. I temporarily fixed it, by editing mailer.inc.php, and adding  this line, right before a mail is sent:

$subject = str_replace ("'", "'", $subject);

Along with the original poster, I'd rather see CPG not do "html-izing" substitutions of that kind in the subject header. In fact, getting to the point of my post, I would not mind seeing a new config field, for the next version, that says which subject line to prefix to messages, rather than the board name directly.

Thanks.