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.
Created attachment 11270 [details] Patch for apr_uri.c (cumulative with patch for bug 28450)
Created attachment 11271 [details] Patch for apr_uri.h (to be used with the apr_uri.c patch posted)
Mass reassign the 44 open apr-bugs to apr bug list
Per list comments - the relative URI resolution algorithm is specified very precisely in RFC 3986; the patches here do not implement it.
Nick, Is this still relevant?