From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Possible bug in org-protocol Date: Fri, 08 Mar 2019 09:11:00 +0100 Message-ID: <87sgvxkcq3.fsf@nicolasgoaziou.fr> References: <87d0n29u8j.fsf@killashandra.ballybran.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:50767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2Ab4-0005Sf-KC for emacs-orgmode@gnu.org; Fri, 08 Mar 2019 03:11:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2Ab3-0001Im-KD for emacs-orgmode@gnu.org; Fri, 08 Mar 2019 03:11:14 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:52585) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h2Ab0-0001Al-P9 for emacs-orgmode@gnu.org; Fri, 08 Mar 2019 03:11:11 -0500 In-Reply-To: <87d0n29u8j.fsf@killashandra.ballybran.fr> ("Pierre =?utf-8?Q?T=C3=A9choueyres=22's?= message of "Thu, 07 Mar 2019 23:48:12 +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: Pierre =?utf-8?Q?T=C3=A9choueyres?= Cc: emacs-orgmode@gnu.org Hello, Pierre T=C3=A9choueyres 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=20 > > #+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_qu= ote\n" > " %?\n\n")))) > #+end_src > > > 2) use emacsclient to trigger org-protocol like this > > #+begin_src sh > emacsclient -n "org-protocol://capture?template=3Dp&url=3Dhttps%3A%2F%2Fg= ithub.com%2FCruiserX%2Fsha256_plsql&title=3DCruiserX%2Fsha256_plsql%3A%20SH= A256%20PL%2FSQL%20Implementation%20for%20Oracle%2010g%2C11g.&body=3DSHA256%= 20PL%2FSQL%20Implementation%20for%20Oracle%2010g%2C11g.%20" > #+end_src Why is the link percent encoded in the first place? Is it necessary? Regards, --=20 Nicolas Goaziou