X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=email.php;h=a1e501a3fc070f52ca4466f4e9cf62180d43cda0;hp=4f77bb0dac6eb6817a3194b8c15e07a942852860;hb=63853e1feaf55ab5542f06de4e914af24e8cc3e3;hpb=9a3136a5bee66e1055ffb566373952b6054dd7bf diff --git a/email.php b/email.php index 4f77bb0..a1e501a 100644 --- a/email.php +++ b/email.php @@ -90,7 +90,7 @@ function email_header($addr) { } #FIXME should allow many more characters here - $name = preg_replace("|[^a-z0-9 _/|i'.-]", '_', $name); + $name = preg_replace("|[^a-z0-9 _/'.-]|i", '_', $name); return $name . ' <' . $email . '>'; }