Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 3.3
-
Fix Version/s: None
-
Component/s: Framework
-
Labels:None
-
Environment:Windows 7 Pro, Chrome 33.
-
Workaround Exists:Yes
-
Workaround Description:
Description
CompatResourceServlet throw Null pointer exception on url's without path info:
http://host/servlet-url-pattern
http://host/servlet-url-pattern/
result of httpServletRequest.getPathInfo() for above url's is NULL
Place where exception is thrown:
77: String path = httpServletRequest.getPathInfo();
81: if(path.contains("..")) { ......
http://host/servlet-url-pattern
http://host/servlet-url-pattern/
result of httpServletRequest.getPathInfo() for above url's is NULL
Place where exception is thrown:
77: String path = httpServletRequest.getPathInfo();
81: if(path.contains("..")) { ......
Issue Links
- duplicates
-
ICE-9942 NPE when pathInfo is not available
- Closed
Issue is already fixed by Deryk Sinotte