From mboxrd@z Thu Jan 1 00:00:00 1970 From: pierre.techoueyres@free.fr (Pierre =?utf-8?Q?T=C3=A9choueyres?=) Subject: Re: [PATCH] Possible bug in org-protocol Date: Fri, 08 Mar 2019 19:25:05 +0100 Message-ID: <87sgvxw7em.fsf@killashandra.ballybran.fr> References: <87d0n29u8j.fsf@killashandra.ballybran.fr> <87sgvxkcq3.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2KBU-0003UE-1I for emacs-orgmode@gnu.org; Fri, 08 Mar 2019 13:25:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2KBS-0002Sb-3u for emacs-orgmode@gnu.org; Fri, 08 Mar 2019 13:25:27 -0500 Received: from smtp4-g21.free.fr ([2a01:e0c:1:1599::13]:49692) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h2KBO-0002F5-KW for emacs-orgmode@gnu.org; Fri, 08 Mar 2019 13:25:24 -0500 Received: from killashandra.ballybran.fr.free.fr (unknown [IPv6:2a01:e0a:1e2:f8b0:9cc3:35bf:aa81:ccf7]) by smtp4-g21.free.fr (Postfix) with ESMTPS id 4EF1F19F5D3 for ; Fri, 8 Mar 2019 19:25:06 +0100 (CET) In-Reply-To: <87sgvxkcq3.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 08 Mar 2019 09:11:00 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hi Nicolas, Nicolas Goaziou writes: >> >> 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? I think so, as org-protocol, for what I've understood, is triggered by an URL where protocol is org-protocol. So the content of the URL itself must be encoded. > Regards, Regards, Pierre.