httpbis: Ticket #6: Fragments allowed in Location

Link:  http://trac.tools.ietf.org/wg/httpbis/trac/ticket/6

Origin:  http://lists.w3.org/Archives/Public/ietf-http-wg-old/1999MayAug/0103.html

Component: p2-semantics

In the description of the Location header [section 14.30], the ABNF for the Location header is given as:

    Location       = "Location" ":" absoluteURI

This and the accompanying text are incorrect because the definition of 'absoluteURI', given in RFC 2396 does not include fragment identifiers. The correct syntax for the Location header is:

    Location       = "Location" ":" absoluteURI [ "#" fragment ]
      

There are circumstances in which a fragment identifier in a Location URL would not be appropriate:

At present, the behavior in the case where there was a fragment with the original URI, e.g.: http://host1.example.com/resource1#fragment1 where /resource1 redirects to http://host2.example.com/resource2#fragment2 is 'fragment1' discarded? Do you find fragment2 and then find fragment1 within it? We don't have fragment combination rules.

Mails

Mails by Sender (Top 10)

Associated Checkins

fielding@gbiv.com (Sat, 22 Dec 2007 00:07:28 GMT)
[73]: Resolve #6: Fragments allowed in Location

History

: comment added; version, resolution, milestone set; status changed (Sat, 22 Dec 2007 00:07:28 GMT)

Fixed in [73]

: comment added; version changed (Sat, 22 Dec 2007 04:11:30 GMT)

: comment added; component set (Fri, 28 Dec 2007 16:24:37 GMT)

This fix is not complete, see < http://greenbytes.de/tech/webdav/draft-lafon-rfc2616bis-01.html#rfc.change.location-fragments.2 >.

: comment added; component changed (Fri, 28 Dec 2007 16:25:04 GMT)

: comment added; origin set (Sat, 09 Aug 2008 18:38:14 GMT)

Related Information

Issues List Index