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/05/13 19:37:05 UTC

DO NOT REPLY [Bug 49286] New: Patch to make DefaultServlet readonly flag works affects OPTIONS method as well.

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

           Summary: Patch to make DefaultServlet readonly flag works
                    affects OPTIONS method as well.
           Product: Tomcat 7
           Version: unspecified
          Platform: PC
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: patrickyccheng@gmail.com


DefaultServlet has a readonly flag. In doPut and doDelete method, the flags
were checked. But in OPTIONS it was not checked.

-- 
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 49286] Patch to make DefaultServlet readonly flag works affects OPTIONS method as well.

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
         OS/Version|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-05-13 15:03:25 EDT ---
The default Servlet returns 403 responses for PUT and DELETE methods. As such
they are valid to be included in the Allow header of the OPTIONS response.

TRACE returns a 405 and as such must not (and is not) included in the Allow
header of the OPTIONS resposne.

-- 
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