]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Merge r1770786 from trunk:
authorEric Covener <covener@apache.org>
Tue, 22 Nov 2016 01:58:06 +0000 (01:58 +0000)
committerEric Covener <covener@apache.org>
Tue, 22 Nov 2016 01:58:06 +0000 (01:58 +0000)
commit47b6f6b13194b9121a11062f2192cf215356f121
treef8994158d17458800f8481f5eaf40b3dcf2e4b1b
parent4958104f465e3f308977da44d370dd625b709da4
Merge r1770786 from trunk:

remove Location: header checks for absolute URL

https://tools.ietf.org/html/rfc7231#section-7.1.2

   The "Location" header field is used in some responses to refer to a
   specific resource in relation to the response.  The type of
   relationship is defined by the combination of request method and
   status code semantics.

     Location = URI-reference

   The field value consists of a single URI-reference.  When it has the
   form of a relative reference ([RFC3986], Section 4.2), the final
   value is computed by resolving it against the effective request URI
   ([RFC3986], Section 5).

There is even an example with no scheme:

     Location: /People.html#tim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x-merge-http-strict@1770789 13f79535-47bb-0310-9956-ffa450edef68
modules/http/http_filters.c