X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-mailgate;h=6baf2c4c9f8d0dccf19b3dd593a3f4f81138e941;hp=b743c8bf969f0d7a84b6aae5552d9856a44f2b79;hb=eaf577581ba8c1c53fadb91920591f8f6ffa15a4;hpb=6bf31765fdd1704dba3c96c8632fdec7db7b273e diff --git a/ud-mailgate b/ud-mailgate index b743c8b..6baf2c4 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -453,7 +453,7 @@ def DoRBL(Str,Attrs): # Handle a ConfirmSudoPassword request def DoConfirmSudopassword(Str): - Match = re.compile('^confirm sudopassword ('+UUID_FORMAT+') ([a-z0-9,*]+) ([0-9a-f]{40})$').match(Str) + Match = re.compile('^confirm sudopassword ('+UUID_FORMAT+') ([a-z0-9.,*]+) ([0-9a-f]{40})$').match(Str) if Match == None: return None