Ævar Arnfjörð Bjarmason <[email protected]> wrote: > Feature request: > > It would be neat to be able to right click on highlighted msgids in > the "what's cooking e-mails" in GMail and paste them into public > inbox, unfortunately Chrome copies this URL escaped, so you get e.g.: > > https://public-inbox.org/git/?q=%3CCACBZZX4UUwzRQmyH8joYaqHnuVTjVtGBHp%252BiZKcnAnwoM_ZJhg%40mail.gmail.com%3E > > Whereas that doesn't work because it's seacrhing for a URI escaped > msgid that contains + converted to %2B > > Whereas unescaping it works: > > https://public-inbox.org/git/?q=CACBZZX4UUwzRQmyH8joYaqHnuVTjVtGBHp%2BiZKcnAnwoM_ZJhg%40mail.gmail.com > > I don't know if it breaks anything else but calling uri_unescape() > would work for these sort of msgids, but then of course searching for > %2b wouldn't work, hrm...
I wonder if it could fall back to auto-unescape if it sees '%' and can't find any messages, or use an OR query. Fwiw, I've actually been thinking about doing auto-linkification for messages (and maybe other things).
