DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23284>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23284 problem with isIPv4address() for relative uri's Summary: problem with isIPv4address() for relative uri's Product: Commons Version: 2.0 Milestone 1 Platform: Macintosh OS/Version: MacOS X Status: NEW Severity: Minor Priority: Other Component: HttpClient AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] the following block of code: try { URI uri = new URI("http://10.0.1.10:8830"); System.out.println("is IP="+uri. isIPv4address()); uri = new URI(uri, "/04-1.html"); System.out.println("is IP="+uri. isIPv4address()); } catch (URIException e) { ; } returns the output: is IP=true is IP=false so by being created from a relative uri URI objects don't have the right setting of isIPv4address(). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
