HCoop
/
hcoop
/
debian
/
courier-authlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
userdb: Allow "+", ":", and "_" in usernames.
[hcoop/debian/courier-authlib.git]
/
userdb
/
userdb.pl.in
diff --git
a/userdb/userdb.pl.in
b/userdb/userdb.pl.in
index
30cf430
..
2406de5
100755
(executable)
--- a/
userdb/userdb.pl.in
+++ b/
userdb/userdb.pl.in
@@
-73,7
+73,7
@@
if ( $doshow && ! defined $name)
else
{
die "Invalid name: $name\n"
- unless $name =~ /^[\@a-zA-Z0-9\.\-]+$/;
+ unless $name =~ /^[\@a-zA-Z0-9
+:_
\.\-]+$/;
}
grep( (/[\|\n]/ && die "Invalid field or value.\n"), @ARGV);