rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: rack-devel@googlegroups.com
Subject: Re: PATH_INFO spec (with regard to ";")
Date: Mon, 14 Dec 2009 18:51:58 +0000	[thread overview]
Message-ID: <20091214185158.GC12789@dcvr.yhbt.net> (raw)
In-Reply-To: <200912110119.49974.ibc@aliax.net>

Iñaki Baz Castillo <ibc@aliax.net> wrote:
> I'm coding a XCAP server using Rack. XCAP is basically XPath over HTTP in 
> which there are HTTP URI's like the following:
> 
>  /auid/global/mydoc.xml/~~/ruleset/rule%5b@id=%22sip:dom.org;p=abc%22%5d
> 
> After reading RFC for URI and HTTP I think that the ";" is valid into the 
> above URI. I also asked in a XCAP maillist and received same conclusion.
> 
> Please tell me if you consider the ";" in the above URI wrong.

Hi Iñaki,

You're missing the point, it's not that ";" is right or wrong.  It's
"right" in that it's always been _accepted_ by the Mongrel family of
HTTP parsers.  That's not the issue.

The issue is just whether or not the PATH_INFO variable can contain ";"
(a path-segment parameter) in it.  RFC 3875 section 4.1.5 states it
cannot:

   Unlike a URI path, the PATH_INFO is not URL-encoded, and cannot
   contain path-segment parameters.

However, Rack is not governed by RFC 3875 and already deviates from
it when it comes to the "PATH_INFO is not URL-encoded".

-- 
Eric Wong

  parent reply	other threads:[~2009-12-14 18:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-10 22:30 PATH_INFO spec (with regard to ";") Eric Wong
2009-12-11  0:03 ` James Tucker
2009-12-11  0:19   ` Iñaki Baz Castillo
2009-12-13 13:41     ` James Tucker
2009-12-13 15:15       ` Iñaki Baz Castillo
2009-12-14  0:44       ` Iñaki Baz Castillo
2009-12-14 11:08         ` James Tucker
2009-12-14 18:51     ` Eric Wong [this message]
2009-12-14 20:50       ` Iñaki Baz Castillo
2009-12-13 20:04 ` macournoyer
2009-12-13 20:49   ` Eric Wong

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-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091214185158.GC12789@dcvr.yhbt.net \
    --to=rack-devel@googlegroups.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).