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 2002/01/23 18:47:10 UTC

DO NOT REPLY [Bug 5985] New: - Tomcat should perform a more restrictive validation of deployed webapps

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5985>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5985

Tomcat should perform a more restrictive validation of deployed webapps

           Summary: Tomcat should perform a more restrictive validation of
                    deployed webapps
           Product: Tomcat 4
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Ryan.Lubke@Sun.COM


Many container implementations perform a strict validation against the web
application deployment descriptors and TLD's included in an web application.
Tomcat, as it current stands today, is relaxed in this area.

For example, a web.xml could have empty elements such as:
  
  <taglib>
    <taglib-uri></taglib-uri>
    <taglib-location></taglib-location>
  </taglib>

Tomcat lets this pass and deploy the app.

Another example is in the area of TLD's.  Watchdog was guilty of this at one
point.  The TLD lists references to a class associated with a particular tag.
If a particlar referenced class doesn't exist in the application, Tomcat will
still deploy, however, other implementations flag this as an error and will not
deploy the app.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>