@Test
void testDecodePathSubstring() {

    String path = URIUtils.decodePath("xx/foo/barxx", 2, 8);
    assertEquals("/foo/bar", path);
    path = URIUtils.decodePath("xxx/foo/bar%2523%3b%2c:%3db%20a%20r%3Dxxx;rubbish", 3, 35);
    assertEquals("/foo/bar%23;,:=b a r=", path);
}