summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5ec9aef)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
public function setSubject($subject)
{
public function setSubject($subject)
{
- if (!preg_match('/^[\x21-\x3C\x3e-\x7e]*$/', $subject)) {
+ if (!preg_match('/^[\x20-\x7e]*$/', $subject)) {
$subject = '=?UTF-8?Q?' . preg_replace('/[^\x21-\x3C\x3e-\x7e]/e', 'PlMailer::encodeQP("\0")', $subject)
. '?=';
}
$subject = '=?UTF-8?Q?' . preg_replace('/[^\x21-\x3C\x3e-\x7e]/e', 'PlMailer::encodeQP("\0")', $subject)
. '?=';
}