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