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: dev@tomcat.apache.org
          Reporter: gajendra.ja...@nucleussoftware.com
  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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to