@Test
public void shouldDisallowTraversalPathsWithEncodedSlash()
        throws Exception
{

    MockHttpServletRequest request = new MockHttpServletRequest("get",
                                                                "http://localhost:48080/storages/storage-common-proxies/maven-central/..%2fstorage-common-proxies/maven-central");
    MockHttpServletResponse response = new MockHttpServletResponse();
    MockFilterChain chain = new MockFilterChain();
    filter.doFilterInternal(request, response, chain);
    assertThat(response.getStatus()).isEqualTo(HttpServletResponse.SC_BAD_REQUEST);
}