You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2012/01/17 22:41:54 UTC
DO NOT REPLY [Bug 52479] New: apr_uri_parse("@localhost::8080")
reports "@localhost" for the scheme
https://issues.apache.org/bugzilla/show_bug.cgi?id=52479
Bug #: 52479
Summary: apr_uri_parse("@localhost::8080") reports "@localhost"
for the scheme
Product: APR
Version: HEAD
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: APR-util
AssignedTo: bugs@apr.apache.org
ReportedBy: trawick@apache.org
Classification: Unclassified
Try calling apr_uri_parse() with "@localhost::8080" for the URI. "@localhost"
is reported as the scheme, but "@" is not a valid scheme character.
(See http://www.ietf.org/rfc/rfc2396.txt.)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 52479] apr_uri_parse("@localhost::8080") reports "@localhost"
for the scheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52479
Stefan Fritsch <sf...@sfritsch.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Stefan Fritsch <sf...@sfritsch.de> ---
fixed in 1.5.2
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 52479] apr_uri_parse("@localhost::8080") reports "@localhost"
for the scheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52479
Stefan Fritsch <sf...@sfritsch.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |FixedInTrunk
--- Comment #2 from Stefan Fritsch <sf...@sfritsch.de> ---
Trunk fix: r1462219 and r1462224
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 52479] apr_uri_parse("@localhost::8080") reports "@localhost"
for the scheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52479
--- Comment #5 from Mike Rumph <mi...@oracle.com> ---
The fix for this bug listed in comments 2 through 4 result in a regression to
APR-util 1.5.2 which shows up as a regression to mod_proxy interpolation code
in Apache httpd 2.2.25.
This regression was reported in httpd bug 55315.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 52479] apr_uri_parse("@localhost::8080") reports "@localhost"
for the scheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52479
--- Comment #1 from Stefan Fritsch <sf...@sfritsch.de> ---
Created attachment 30098
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30098&action=edit
proof of concept fix
The fix should go like this, but of course using strspn() is very inefficient.
I have noticed that we don't have a locale-independent isalnum() in apr. Should
we add that or should we do some character table tricks like we do in httpd's
test_char.h?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 52479] apr_uri_parse("@localhost::8080") reports "@localhost"
for the scheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52479
--- Comment #3 from Stefan Fritsch <sf...@sfritsch.de> ---
1.5.x commit: r1462434
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org