Bug 28453 - apr_uri should parse relative to a base URI
apr_uri should parse relative to a base URI
Status: NEW
Product: APR
Classification: Unclassified
Component: APR-util
HEAD
All All
: P3 enhancement with 1 vote (vote)
: ---
Assigned To: Apache Portable Runtime bugs mailinglist
: PatchAvailable
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2004-04-18 07:56 UTC by Nick Kew
Modified: 2009-10-08 15:48 UTC (History)
2 users (show)



Attachments
Patch for apr_uri.c (cumulative with patch for bug 28450) (3.62 KB, patch)
2004-04-18 07:58 UTC, Nick Kew
Details | Diff
Patch for apr_uri.h (to be used with the apr_uri.c patch posted) (1.19 KB, patch)
2004-04-18 08:00 UTC, Nick Kew
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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?