fix if domain of In-Reply-To contains a '@'
This commit is contained in:
parent
c8d9d38826
commit
b08dda9bcc
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ class Monboob(ReplApplication):
|
|||
|
||||
def get_email_address_ident(self, msg, header):
|
||||
s = msg.get(header)
|
||||
m = re.match('.*<(.*)@(.*)>', s)
|
||||
m = re.match('.*<([^@]*)@(.*)>', s)
|
||||
if m:
|
||||
return m.group(1)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue