You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Andrew Ford <A....@ford-mason.co.uk> on 2008/06/07 10:01:04 UTC

Patch for mod_filter - code does not match documentation

The documentation for FilterDeclare says that :

    The final (optional) argument is the type of filter, and takes
    values of |ap_filter_type| - namely |RESOURCE| (the default),
    |CONTENT_SET|, |PROTOCOL|, |TRANSCODE|, |CONNECTION| or |NETWORK|.


However there is no code to detect TRANSCODE, and any unknown types are
silently accepted (as RESOURCE).

The attached patch for 2.2.x fixes this.

Andrew

-- 
Andrew Ford                     
South Wing Compton House, Compton Green,
Redmarley, Gloucestershire, GL19 3JB, UK
Tel:    +44 1531 829900
Mobile: +44 7785 258278
Email:  A.Ford@ford-mason.co.uk