[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] Fixing link encoding once and for all
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [RFC] Fixing link encoding once and for all |
Date: |
Fri, 01 Mar 2019 09:56:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Jens Lechtenboerger <address@hidden> 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
- Re: [O] [RFC] Fixing link encoding once and for all, Nicolas Goaziou, 2019/03/01
- Re: [O] [RFC] Fixing link encoding once and for all, Nicolas Goaziou, 2019/03/01
- Re: [O] [RFC] Fixing link encoding once and for all, Michael Brand, 2019/03/01
- Re: [O] [RFC] Fixing link encoding once and for all, Jens Lechtenboerger, 2019/03/01
- Re: [O] [RFC] Fixing link encoding once and for all,
Nicolas Goaziou <=
- Re: [O] [RFC] Fixing link encoding once and for all, stardiviner, 2019/03/03
- Re: [O] [RFC] Fixing link encoding once and for all, Neil Jerram, 2019/03/04