From: "H. Peter Anvin" <hpa@zytor.com>
To: Anders Larsen <al@alarsen.net>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
Shuah Khan <shuahkhan@gmail.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
postmaster@vger.kernel.org,
Konstantin Ryabitsev <mricon@kernel.org>
Subject: Re: kernel mailing list permalinks
Date: Tue, 06 Aug 2013 16:05:35 -0700 [thread overview]
Message-ID: <5201813F.1070102@zytor.com> (raw)
In-Reply-To: <1375826105.22552.0@oscar>
On 08/06/2013 02:55 PM, Anders Larsen wrote:
> On 2013-08-06 23:23, H. Peter Anvin wrote:
>> On 08/06/2013 02:11 PM, Bjorn Helgaas wrote:
>> >>
>> >> The above link is also a good example of subtleness: + in a URL
>> means a
>> >> space character, it has to be escaped as %2B. Particularly a
>> problem in
>> >> gmail message-ids.
>
> the link in question works just fine without escaping the +; the + only
> has to be escaped in then query component of a URL, not in the path
> component where it is just another valid character - and the link in
> question did not contain any query component.
>
> (see RFC 3986 sections 3.3 and 3.4)
>
Well, the backend does unescape, so regardless of what is legal by URL
syntax, the current implementation and therefore existing link tags
expect it to be escaped (this is a consequence of the bouncer turning
the link into a query URL in a redirect.) So they will need to be
escaped no matter what RFC 3986 says. Consider a part of the
specification for lkml.kernel.org links.
That being said, we could definitely choose to interpret + as a + rather
than space. I don't know if we can easily distinguish between "%20",
"+" and " ", though, without dramatically change the implementation.
>> A quoted Message-ID might be weird as heck, but one rarely if ever see
>> them, I don't know if they are even legal.
>
> I don't think they are even possible, as the percent-sign is just another
> valid character in a Message-ID - but so is the '+' sign, so it seems
> you're trying to solve a non-existent problem...
>
> (see RFC 5322 section 3.2.3)
>
I'm referring to message-id's with a obs-id-left production.
-hpa
next prev parent reply other threads:[~2013-08-06 23:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-02 21:04 kernel mailing list permalinks Bjorn Helgaas
2013-08-02 21:36 ` Shuah Khan
2013-08-02 21:38 ` H. Peter Anvin
2013-08-06 21:11 ` Bjorn Helgaas
2013-08-06 21:15 ` H. Peter Anvin
2013-08-06 21:23 ` H. Peter Anvin
2013-08-06 21:55 ` Anders Larsen
2013-08-06 23:05 ` H. Peter Anvin [this message]
2013-08-06 23:15 ` Joe Perches
2013-08-07 3:39 ` H. Peter Anvin
2013-08-07 3:44 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5201813F.1070102@zytor.com \
--to=hpa@zytor.com \
--cc=al@alarsen.net \
--cc=bhelgaas@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mricon@kernel.org \
--cc=postmaster@vger.kernel.org \
--cc=shuahkhan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.