bug-mit-scheme
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #62583] HTTP "Location" header should allow relative URIs


From: Sam Lee
Subject: [bug #62583] HTTP "Location" header should allow relative URIs
Date: Sat, 4 Jun 2022 02:43:28 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62583>

                 Summary: HTTP "Location" header should allow relative URIs
                 Project: MIT/GNU Scheme
               Submitter: samlee
               Submitted: Sat 04 Jun 2022 06:43:26 AM UTC
                Category: runtime
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect behavior
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                Keywords: 


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Sat 04 Jun 2022 06:43:26 AM UTC By: Sam Lee <samlee>
The "Location" header is defined in MIT Scheme 11.2 as

(define-header "Location"
  (direct-parser parse-absolute-uri)
  absolute-uri?
  write-ascii-uri)

Source:
https://git.savannah.gnu.org/cgit/mit-scheme.git/tree/src/runtime/http-syntax.scm?h=release-11.2#n1344

This is incorrect because RFC 7231 [1] allows the Location header to refer to
a relative URI.

[1]: https://www.rfc-editor.org/rfc/rfc7231#section-7.1.2







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62583>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]