Charles Choi <kickingve...@gmail.com> writes:

> Double slash in body text not captured in Org Protocol URL
>
>
>    #+begin_src shell
>      emacsclient "org-protocol://capture?body=org-protocol://"
>    #+end_src
> ...
> Only one slash appears in the resulting Org Capture window.

Confirmed.

This is because `server--process-filter-1' hard-codes passing the
argument through `expand-file-name', which can cause havoc for
especially unfortunate org-protocol strings.

I am afraid that fixing this would require non-trivial Emacs upstream
changes.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to