View | Details | Raw Unified | Return to bug 39369
Collapse All | Expand All

(-)modules/filters/mod_include.c (+11 lines)
Lines 3052-3057 Link Here
3052
{
3052
{
3053
    include_dir_config *conf;
3053
    include_dir_config *conf;
3054
3054
3055
    /* If we're already on the filter chain, adding a second
3056
       instance breaks things. */
3057
    struct ap_filter_t *filter = r->output_filters;
3058
3059
    while (filter) {
3060
        if (!strcasecmp("INCLUDES", filter->frec->name)) {
3061
            return DECLINED;
3062
        }
3063
        filter = filter->next;
3064
    }
3065
3055
    conf = ap_get_module_config(r->per_dir_config, &include_module);
3066
    conf = ap_get_module_config(r->per_dir_config, &include_module);
3056
3067
3057
    if (r->handler && (strcmp(r->handler, "server-parsed") == 0))
3068
    if (r->handler && (strcmp(r->handler, "server-parsed") == 0))

Return to bug 39369