X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl.git;a=blobdiff_plain;f=email.php;h=a1e501a3fc070f52ca4466f4e9cf62180d43cda0;hp=4f77bb0dac6eb6817a3194b8c15e07a942852860;hb=062d46e16429f2e55573567518cb01c83b319ac4;hpb=196deb2416748b09200f620247a344563dff4c38 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 . '>'; }