X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=email.php;fp=email.php;h=92cb6f0a5ba15e1a55d1dec87650e1b37d29b8db;hb=554b3215eda9d33d86b8bd30df28e02eabb89ae7;hp=585f97fa93c5248622325fc330f101ad2cf77f77;hpb=ac57c47c8fe57b2d0c8b3a305898e3e4642176ae;p=wfpl.git diff --git a/email.php b/email.php index 585f97f..92cb6f0 100644 --- a/email.php +++ b/email.php @@ -41,7 +41,7 @@ function email($from, $to, $subject, $message, $reply_to = '', $cc = '', $bcc = if($to == '') { return 2; } #FIXME should allow many more characters here - $subject = ereg_replace("[^a-zA-Z0-9 _'.:-]", '_', $subject); + $subject = ereg_replace("[^a-zA-Z0-9 _#'.:-]", '_', $subject); $headers = "From: $from"; if($reply_to) {