From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] Fixing link encoding once and for all Date: Fri, 01 Mar 2019 09:56:00 +0100 Message-ID: <87d0nbnfbz.fsf@nicolasgoaziou.fr> References: <87tvguyohn.fsf@nicolasgoaziou.fr> <87sgw9cxr8.fsf@nicolasgoaziou.fr> <87lg1znh9t.fsf@nicolasgoaziou.fr> <87k1hjvvfl.fsf@wi.uni-muenster.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gzdxe-0001BB-JA for emacs-orgmode@gnu.org; Fri, 01 Mar 2019 03:56:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gzdxd-0002Lm-Q0 for emacs-orgmode@gnu.org; Fri, 01 Mar 2019 03:56:06 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:50545) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gzdxd-0002K5-JZ for emacs-orgmode@gnu.org; Fri, 01 Mar 2019 03:56:05 -0500 In-Reply-To: <87k1hjvvfl.fsf@wi.uni-muenster.de> (Jens Lechtenboerger's message of "Fri, 01 Mar 2019 09:41:02 +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: Neil Jerram Cc: Org Mode List Hello, Jens Lechtenboerger writes: > On 2019-03-01, Nicolas Goaziou wrote: > >> 3. There will be some backward compatibility issues. We can add >> a checker in Org Lint to catch most of those. For example, we could >> look at URI where every percent is followed only by 25, 5B, and 5D. > > I do not understand this point. What is special about URIs where > *only* those occur? Might compatibility issues not arise if those > occur at all (while others such as %28 and %29 for parentheses might > occur without problems as well)? If a URI seems percent encoded, but only uses %25, %5B and %5D as escape combinations, there is a high chance that it is Org-encoded, and therefore uses a deprecated syntax. We could send a warning to the user in this case; they might want to clean the URI. OTOH, if there is %28, or %29, we are sure it isn't Org-encoded, and therefore, the percent-encoding was intended right from the start (like in your Wikipedia link). Regards, -- Nicolas Goaziou