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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.