[ mailman-Patches-1578756 ] Handle unexpected HTTP method gracefully
Patches item #1578756, was opened at 2006-10-17 08:45 Message generated for change (Comment added) made by ppsys You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1578756&group_id=103 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Web UI Group: Mailman 2.1 Status: Open Resolution: None Priority: 5 Submitted By: Thijs Kinkhorst (kink) Assigned to: Nobody/Anonymous (nobody) Summary: Handle unexpected HTTP method gracefully Initial Comment: Hi! When Mailman is confronted with an unexpected HTTP method type (e.g. PROPFIND instead of GET/HEAD/POST), it crashes. The attached patch fixes that more gracefully by throwing the appropriate HTTP error. Thanks for considering. Thijs ---------------------------------------------------------------------- Comment By: Richard Barrett (ppsys) Date: 2006-10-22 07:35 Message: Logged In: YES user_id=75166 There is an alternative to fixing cgi scripts to cope with inappropriate WebDAV methods being applied to them, which works regardless of whether they are Mailman cgi scripts or not. Configure Apache not to apply WebDAV methods to inappropriate resources by the use of Apache directives such as DAV Off and LimitExcept GET POST. See: http://httpd.apache.org/docs/2.0/mod/mod_dav.html and http://httpd.apache.org/docs/2.0/mod/core.html#limitexcept ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1578756&group_id=103
participants (1)
-
SourceForge.net