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...

BUG:

The code is missing a utf8::decode() or equivalent somewhere, try
searching for: https://public-inbox.org/git/?q=%C3%86var

The search works, but the text in the search box is garbled, the
second search is https://public-inbox.org/git/?q=%C3%83%E2%80%A0var
third https://public-inbox.org/git/?q=%C3%83%C6%92%C3%A2%E2%82%AC%C2%A0var
etc.

Reply via email to