Commit 71ca0524 authored by Nick Kew's avatar Nick Kew
Browse files

PR#39420

Use case-insensitive matching for resp=Content-Type
(other uses of this var are in apr_table_get, so case is irrelevant).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@486455 13f79535-47bb-0310-9956-ffa450edef68
parent f095a60d
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/filters/mod_filter.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -638,7 +638,7 @@ static const char *filter_provider(cmd_parms *cmd, void *CFG, const char *args)
    }

    if (   (provider->dispatch == RESPONSE_HEADERS)
        && !strcmp(str, "content-type")) {
        && !strcasecmp(str, "content-type")) {
        provider->dispatch = CONTENT_TYPE;
    }
    provider->value = str;