@Test
public void dontEncodeSemicolon() {

    String encoded = UrlEncoder.PATH_INSTANCE.encode("path;jsessionid=1234567890",
            CharEncoding.UTF_8);
    assertEquals("path;jsessionid=1234567890", encoded);
}