Bug 28453

Summary: apr_uri should parse relative to a base URI
Product: APR Reporter: Nick Kew <nick>
Component: APR-utilAssignee: Apache Portable Runtime bugs mailinglist <bugs>
Status: NEW ---    
Severity: enhancement CC: bojan, poeml
Priority: P3 Keywords: PatchAvailable
Version: HEAD   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Patch for apr_uri.c (cumulative with patch for bug 28450)
Patch for apr_uri.h (to be used with the apr_uri.c patch posted)

Description Nick Kew 2004-04-18 07:56:44 UTC
apr_uri will be altogether more useful if it can

  (a) Parse a URI relative to a supplied base URI
  (b) Resolve a (possibly relative) URL against a supplied base URI.

This was posted last year to dev@apr, but was ignored.  I've now rolled a
cumulative patch with the serious apr_uri bug (#28450) reported a few hours ago.
Comment 1 Nick Kew 2004-04-18 07:58:11 UTC
Created attachment 11270 [details]
Patch for apr_uri.c (cumulative with patch for bug 28450)
Comment 2 Nick Kew 2004-04-18 08:00:02 UTC
Created attachment 11271 [details]
Patch for apr_uri.h (to be used with the apr_uri.c patch posted)
Comment 3 William A. Rowe Jr. 2006-09-19 19:54:36 UTC
Mass reassign the 44 open apr-bugs to apr bug list
Comment 4 Joe Orton 2007-07-04 03:15:47 UTC
Per list comments - the relative URI resolution algorithm is specified very
precisely in RFC 3986; the patches here do not implement it.
Comment 5 Bojan Smojver 2009-02-23 19:55:21 UTC
Nick,

Is this still relevant?