Misbehaviour of URI.getEscapedPath() with uri containing double slash like 
//js/includes/foo.js
-----------------------------------------------------------------------------------------------

                 Key: HTTPCLIENT-727
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-727
             Project: HttpComponents HttpClient
          Issue Type: Bug
    Affects Versions: 3.1 Final
            Reporter: Marc Guillemot


public void testURI_getEscapedPath() throws Exception {
        URI uri = new URI("//js/includes/foo.js", false);
        assertEquals("//js/includes/foo.js", uri.toString()); // passes
        assertEquals("//js/includes/foo.js", uri.getEscapedPath()); // fails
}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to