<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 7 Oct 2021, at 9:31, Robert Brenstein wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">Right. The question is who does the escaping and whether it is specific to my setup or it is a general problem.</p>
</blockquote>
<p dir="auto">That's a good question. I'm pretty sure it's a general problem, but I haven't tried myself yet. This is part of the string given to Todoist:</p>
<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">message://%253c5A5A03CC-FC01-4ED2-A3C4-61971EC37312@uni-potsdam.de%253e
</code></pre>
<p dir="auto">That is a URL encoded version of the string that MailMate would like to get into Todoist which is this:</p>
<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">message://%3c5A5A03CC-FC01-4ED2-A3C4-61971EC37312@uni-potsdam.de%3e
</code></pre>
<p dir="auto">This should, when it's decoded (by Apple Mail or MailMate) result in this Message-ID:</p>
<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7"><5A5A03CC-FC01-4ED2-A3C4-61971EC37312@uni-potsdam.de>
</code></pre>
<p dir="auto">So, why is the string given to Todoist double-encoded. Well, that's because it's given as a URL string itself in the <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">content</code> argument as (kind of) documented by Todoist <a href="https://developer.todoist.com/guides/#views" style="color:#3983C4">here</a>.</p>
<p dir="auto">So, I don't <em>think</em> the Todoist bundle (MailMate) is to blame. But we needs things to work so if they insist then I'll have to look into a workaround.</p>
<p dir="auto">--<br>
Benny<br>
<a href="https://freron.com/become_a_mailmate_patron/" style="color:#3983C4">https://freron.com/become_a_mailmate_patron/</a></p>

</div></div></body>

</html>