rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: "Iñaki Baz Castillo" <ibc@aliax.net>
To: rack-devel@googlegroups.com
Subject: Re: PATH_INFO spec (with regard to ";")
Date: Sun, 13 Dec 2009 16:15:13 +0100	[thread overview]
Message-ID: <200912131615.13289.ibc@aliax.net> (raw)
In-Reply-To: <66B2EAE4-0FB8-431E-939B-98FBC4FF30C5@gmail.com>

El Domingo, 13 de Diciembre de 2009, James Tucker escribió:
> On 11 Dec 2009, at 00:19, Iñaki Baz Castillo wrote:
> > El Viernes, 11 de Diciembre de 2009, James Tucker escribió:
> >>> Of course, in the grand scheme of things, hardly anybody uses ";" in
> >>> paths.  Yay for rare corner cases making our lives difficult.
> >>
> >> Amen, because I feel like I want to say "be configurable", given all of
> >> the above.
> >
> > 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.
> 
> "Wrong" is hard to define with archaic protocol specifications that do not
>  match "common" usage patterns, which is why I suggested it should be
>  configurable. I would probably suggest to you that you make your client
>  configurable to escape it's semi-colon characters in the uri that are not
>  part of query syntax.

Yes, modifications in the client could be an option. However I cannot force to 
every XCAP clients to escape ";" when it's allowed as per URI BNF grammar.


-- 
Iñaki Baz Castillo <ibc@aliax.net>

  reply	other threads:[~2009-12-13 15:15 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 [this message]
2009-12-14  0:44       ` Iñaki Baz Castillo
2009-12-14 11:08         ` James Tucker
2009-12-14 18:51     ` Eric Wong
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=200912131615.13289.ibc@aliax.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).