From: Paul Querna Date: Sat, 15 Oct 2005 18:48:03 +0000 (+0000) Subject: Do not set r->content_type directly, use our ap_set_content_type API, so that output... X-Git-Tag: 2.3.0~2873 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00feac4b964bd7f9f3dd2f0fef98873df06cf868;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 49da04e2135..6ac7f6d40b7 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -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;