From 699548a2f1a918bff398c34e6bef2f00c78d6f7b Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 16 Sep 2010 14:02:27 +0200 Subject: Tighten addresshints to require leading chars (clashes with future group hint, and no real users contain domain-only addresshints anyway). --- localuserinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'localuserinfo') 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 = ""; } -- cgit v1.2.3