Bug 28450 - apr_uri_parse violates RFC2396
Summary: apr_uri_parse violates RFC2396
Status: RESOLVED FIXED
Alias: None
Product: APR
Classification: Unclassified
Component: APR-util (show other bugs)
Version: HEAD
Hardware: Other All
: P3 major (vote)
Target Milestone: ---
Assignee: Apache Portable Runtime bugs mailinglist
URL:
Keywords: PatchAvailable, RFC
Depends on:
Blocks:
 
Reported: 2004-04-18 00:29 UTC by Nick Kew
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
Patch for the bug (1.07 KB, patch)
2004-04-18 00:31 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 00:29:38 UTC
A URL starting with two slashes is defined by RFC2396 #4.3 as having an
"authority" component, but apr_uri_parse incorrectly assigns it to the path.
Comment 1 Nick Kew 2004-04-18 00:31:00 UTC
Created attachment 11268 [details]
Patch for the bug
Comment 2 Nick Kew 2004-04-18 00:35:20 UTC
There are a lot of links of this form at slashdot.org.  Browsers parse them.  So
this is not an ivory-tower RFC issue.
Comment 3 Nick Kew 2004-04-18 08:03:28 UTC
The patch should be superseded by the cumulative patch recently submitted under
Bug 28453.
Comment 4 Nick Kew 2004-09-06 08:55:33 UTC
APR/1.0 fixes this.