bugMIT/GNU Scheme - Bugs: bug #62583, HTTP "Location" header...

 
 

bug #62583: HTTP "Location" header should allow relative URIs

Submitter:  Sam Lee <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: 
Open/Closed:  Open
Keywords: 
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Sat 04 Jun 2022 06:43:26 AM UTC, original submission:  

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

Sam Lee <samlee>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by samlee (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.9