[redland-dev] [Raptor RDF Syntax Library 0000620]: Base IRI is still determined via Content-Location value (as per RFC 2616 which is obsolete)

Mantis Bug Tracker mantis-bug-sender at librdf.org
Thu May 4 10:59:30 EDT 2017


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.librdf.org/mantis/view.php?id=620 
====================================================================== 
Reported By:                csarven
Assigned To:                
====================================================================== 
Project:                    Raptor RDF Syntax Library
Issue ID:                   620
Category:                   api
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Syntax Name:                RDFa 
====================================================================== 
Date Submitted:             2017-05-04 07:59
Last Modified:              2017-05-04 07:59
====================================================================== 
Summary:                    Base IRI is still determined via Content-Location
value (as per RFC 2616 which is obsolete)
Description: 
As per https://tools.ietf.org/html/rfc7231 :

   The definition of Content-Location has been changed to no longer
   affect the base URI for resolving relative URI references, due to
   poor implementation support and the undesirable effect of potentially
   breaking relative links in content-negotiated resources.
   (Section 3.1.4.2)

Steps to Reproduce: 
If the header:
Content-Location: example.html

is present where an RDFa document uses relative IRIs (eg about="",
resource="#foo") the base value becomes example.html (eg example.html and
example.html#foo)

Expectation is to use the request URI, i.e., ignore Content-Location value.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2017-05-04 07:59 csarven        New Issue                                    
======================================================================



More information about the redland-dev mailing list