diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-09-16 14:02:27 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-09-16 14:02:27 +0200 |
commit | 699548a2f1a918bff398c34e6bef2f00c78d6f7b (patch) | |
tree | e348f852b602455e5ff3b6831a267ddc5de25c06 /localuserinfo | |
parent | 5969ae05e8ea7c71a3f95684572618c69ce76216 (diff) |
Tighten addresshints to require leading chars (clashes with future group hint, and no real users contain domain-only addresshints anyway).
Diffstat (limited to 'localuserinfo')
-rwxr-xr-x | localuserinfo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localuserinfo b/localuserinfo index f4d5871..40fec4f 100755 --- a/localuserinfo +++ b/localuserinfo @@ -126,7 +126,7 @@ sub getuserinfo($) { my @officehints = grep {s/^([\.[:alnum:]_-]+)$/%$1/} split /\s+/, $office; my @addresshints; if (defined($other)) { - @addresshints = grep {/^([\.[:alnum:]_-]+|\+)?@([\.[:alnum:]_-]+)?$/} split /\s+/, $other; + @addresshints = grep {/^([\.[:alnum:]_-]+|\+)@([\.[:alnum:]_-]+)?$/} split /\s+/, $other; } else { $other = ""; } |