Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a3136a
)
fix typo from preg/ereg change
author
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 May 2015 18:07:28 +0000
(14:07 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Tue, 26 May 2015 18:07:28 +0000
(14:07 -0400)
email.php
patch
|
blob
|
history
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
- $name = preg_replace("|[^a-z0-9 _/|i'.-]", '_', $name);
+ $name = preg_replace("|[^a-z0-9 _/'.-]|i", '_', $name);
return $name . ' <' . $email . '>';
}