From: Graham Leggett Date: Fri, 21 May 2004 02:54:55 +0000 (+0000) Subject: Fix a cut and paste, doh! X-Git-Tag: pre_ajp_proxy~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed49334e8e65d258513f2003b0e86bb9dc075782;p=apache Fix a cut and paste, doh! PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103710 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_auth_ldap.c b/modules/experimental/mod_auth_ldap.c index d6f6dff435..d6a6489c9a 100644 --- a/modules/experimental/mod_auth_ldap.c +++ b/modules/experimental/mod_auth_ldap.c @@ -225,7 +225,7 @@ void mod_auth_ldap_build_filter(char *filtbuf, *p && q < filtbuf_end; *q++ = *p++) { #if APR_HAS_MICROSOFT_LDAPSDK /* Note: The Microsoft SDK escapes for us, so is not necessary */ -#elif +#else if (strchr("*()\\", *p) != NULL) { *q++ = '\\'; if (q >= filtbuf_end) {