mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-22 14:09:25 +00:00
remove trailing servlet path slash on WebSphere only (SPR-7064)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3275 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
@@ -295,6 +295,7 @@ public class MvcNamespaceTests {
|
||||
request.setRequestURI("/myapp/app/bar");
|
||||
request.setContextPath("/myapp");
|
||||
request.setServletPath("/app/");
|
||||
request.setAttribute("com.ibm.websphere.servlet.uri_non_decoded", "/myapp/app/bar");
|
||||
HandlerExecutionChain chain = mapping2.getHandler(request);
|
||||
assertEquals(4, chain.getInterceptors().length);
|
||||
assertTrue(chain.getInterceptors()[1] instanceof ConversionServiceExposingInterceptor);
|
||||
|
||||
Reference in New Issue
Block a user