[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Possible bug in org-protocol
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [PATCH] Possible bug in org-protocol |
Date: |
Fri, 08 Mar 2019 09:11:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Pierre Téchoueyres <address@hidden> writes:
> I'm facing an unexpected behaviour since some days :
> When I want to record some link from web sites using Org Capture extension
> (https://github.com/sprig/org-capture-extension) for Firefox all my text
> and links are encoded like urls.
>
> It's look like the commit #cc7c4a673 removed some url decoding when
> the org-protocol url is processed.
>
> See bellow the steps to reproduce :
>
> 1) define some templates for org-protocol, mine are bellow
>
> #+begin_src elisp
> (setq org-capture-templates '(("L" "Protocol Link" entry (file+olp ,inbox
> "Web")
> ,(concat "* %:description :@website:\n"
> " Captured On: %a, %U\n"
> " %?\n\n"))
> ("p" "Protocol Selection" entry (file+olp
> ,inbox "Web")
> ,(concat "* %:description :@website:\n"
> " Source: %a, %U\n"
> " #+begin_quote\n%i\n
> #+end_quote\n"
> " %?\n\n"))))
> #+end_src
>
>
> 2) use emacsclient to trigger org-protocol like this
>
> #+begin_src sh
> emacsclient -n
> "org-protocol://capture?template=p&url=https%3A%2F%2Fgithub.com%2FCruiserX%2Fsha256_plsql&title=CruiserX%2Fsha256_plsql%3A%20SHA256%20PL%2FSQL%20Implementation%20for%20Oracle%2010g%2C11g.&body=SHA256%20PL%2FSQL%20Implementation%20for%20Oracle%2010g%2C11g.%20"
> #+end_src
Why is the link percent encoded in the first place? Is it necessary?
Regards,
--
Nicolas Goaziou
- [O] [PATCH] Possible bug in org-protocol, Pierre Téchoueyres, 2019/03/07
- Re: [O] [PATCH] Possible bug in org-protocol,
Nicolas Goaziou <=
- Re: [O] [PATCH] Possible bug in org-protocol, Pierre Téchoueyres, 2019/03/08
- Re: [O] [PATCH] Possible bug in org-protocol, Nicolas Goaziou, 2019/03/09
- Re: [O] [PATCH] Possible bug in org-protocol, Pierre Téchoueyres, 2019/03/09
- Re: [O] [PATCH] Possible bug in org-protocol, Nicolas Goaziou, 2019/03/10
- Re: [O] [PATCH] Possible bug in org-protocol, Pierre Téchoueyres, 2019/03/10
- Re: [O] [PATCH] Possible bug in org-protocol, Nicolas Goaziou, 2019/03/10