Commit 5ab5811f authored by David Douard's avatar David Douard
Browse files

[entities] fix references method (closes #2515092)

The References header may store a space-separated list of values, which was not correctly handled.
parent 16116009a01f
......@@ -72,7 +72,8 @@ class Email(AnyEntity):
replyto = message.get('In-reply-to')
if replyto:
result.add(replyto)
result.update(message.get_all('References', ()))
for refs in message.get_all('References', ()):
result.update(refs.split())
return result
lines_rgx = re.compile('^Lines:\s*\d+\s*\n', re.I|re.U|re.M)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment