Commit bfe4fb04 authored by Paul Querna's avatar Paul Querna
Browse files

Do not set r->content_type directly, use our ap_set_content_type API, so that...

Do not set r->content_type directly, use our ap_set_content_type API, so that output filters can properly be applied.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@321436 13f79535-47bb-0310-9956-ffa450edef68
parent a5da80c9
Loading
Loading
Loading
Loading
+2 −1
Changes for modules/ldap/util_ldap.c: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -103,7 +103,8 @@ static int util_ldap_handler(request_rec *r)
        return DECLINED;
    }

    r->content_type = "text/html";
    ap_set_content_type(r, "text/html");

    if (r->header_only)
        return OK;