Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix typo from preg/ereg change
[wfpl.git]
/
email.php
diff --git
a/email.php
b/email.php
index
4f77bb0
..
a1e501a
100644
(file)
--- a/
email.php
+++ b/
email.php
@@
-90,7
+90,7
@@
function email_header($addr) {
}
#FIXME should allow many more characters here
}
#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 . '>';
}
return $name . ' <' . $email . '>';
}