On 16/11/2021 00.53, sebb wrote:
A quick test shows that both space and + come through as space.
So if spaces are not allowed in ids, it should be safe to convert them all to +.
However, if space is allowed, I think the issue can realistically only
be fixed where the id is being used.
[We don't have quantum strings in Python that can be both space and plus...]
Yes and no. The de facto standard (RFC850 ยง2.1.7) states that whitespace
is not allowed. RFC822 kinda says it could be allowed but must be
quoted, however I don't think anyone uses whitespace in message-ids.
+ email = await plugins.messages.get_email(session, messageid=mailid)
if email and isinstance(email, dict):
thread, emails, pdocs = await
plugins.messages.fetch_children(session, email, short=True)
else: