apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 52479] apr_uri_parse("@localhost::8080") reports "@localhost" for the scheme
Date Sun, 24 Mar 2013 08:47:25 GMT
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


Mime
View raw message