https://bz.apache.org/bugzilla/show_bug.cgi?id=63104
Bug ID: 63104
Summary: As per servlet api doc ServletContext.getResource
should throw MalformedURLException but for some urls
tomcat 8 is throwing IllegalArgumentException which is
deviation for api.
Product: Tomcat 8
Version: 8.5.x-trunk
Hardware: PC
Status: NEW
Severity: blocker
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ----
Created attachment 36388
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36388&action=edit
Bug log
As per servlet api doc ServletContext.getResource should throw
MalformedURLException in case incorrect url format but for some urls like
/../../ which is a relative URL tomcat 8 is throwing IllegalArgumentException
which is deviation for api.
This scenario works fine on tomcat 7 or earlier versions.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]