* WGs marked with an * asterisk has had at least one new draft made available during the last 5 days

Ticket #431 (closed design: fixed)

Opened 19 months ago

Last modified 16 months ago

origin-form does not allow path starting with "//"

Reported by: julian.reschke@gmx.de Owned by:
Priority: normal Milestone: 22
Component: p1-messaging Severity: In WG Last Call
Keywords: Cc:
Origin: http://www.w3.org/mid/CACuKZqHi6gBmd-khrW-_7febxoh-pNd4hzfyA4EgRNKQ4ivWog@mail.gmail.com

Description (last modified by julian.reschke@gmx.de) (diff)

Zong Yu reports:

If user clicks a URL http://example.com//abc, the browser should send

    GET //abc HTTP/1.1
    Host: example.com

However the latest bis draft seems to forbid "origin-form" to start with ""

http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-21#section-5.3

    origin-form    = path-absolute [ "?" query ]

http://tools.ietf.org/html/rfc3986#section-3.3

    path-absolute   ; begins with "/" but not "//"

I couldn't find anything in RFC 3986 that accurately describe the path part that we really want, which should be

    path-xxx = "/" *( "/" / pchar )

HTTP probably need to define this term. It'll also help people to finally refer to this thingy with a proper name.

Attachments

431.diff (6.5 KB) - added by julian.reschke@gmx.de 19 months ago.
Proposed patch

Change History

comment:1 Changed 19 months ago by julian.reschke@gmx.de

  • Description modified (diff)

Changed 19 months ago by julian.reschke@gmx.de

Proposed patch

comment:2 Changed 19 months ago by julian.reschke@gmx.de

From [2181]:

allow origin-form to use a path starting with "" (see #431)

comment:3 Changed 19 months ago by julian.reschke@gmx.de

  • Status changed from new to closed
  • Resolution set to incorporated
  • Milestone changed from unassigned to 22

comment:4 Changed 16 months ago by mnot@pobox.com

  • Status changed from closed to reopened
  • Resolution incorporated deleted

comment:5 Changed 16 months ago by mnot@pobox.com

  • Status changed from reopened to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.