You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/08/15 17:06:58 UTC

DO NOT REPLY [Bug 49750] New: WebappClassLoader.validate(name) does not validate javax.servlet.

https://issues.apache.org/bugzilla/show_bug.cgi?id=49750

           Summary: WebappClassLoader.validate(name) does not validate
                    javax.servlet.
           Product: Tomcat 7
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: pidster@apache.org


The method does not validate the class name as described in the method
documentation.

"Validate a classname. As per SRV.9.7.2, we must restrict loading of classes
from J2SE (java.*) and classes of the servlet API (javax.servlet.*) "

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49750] WebappClassLoader.validate(name) does not validate javax.servlet.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49750

--- Comment #1 from Pid <pi...@apache.org> 2010-08-15 11:08:47 EDT ---
Created an attachment (id=25887)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25887)
Minor patch to validate(name) method

Minor patch to validate(name) method which returns false for javax.servlet. as
described in method comment

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 49750] WebappClassLoader.validate(name) does not validate javax.servlet.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49750

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Mark Thomas <ma...@apache.org> 2010-08-23 13:33:05 EDT ---
Fixed and will be included in 7.0.3 onwards. Thanks for the patch.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org