diff options
Diffstat (limited to 'encoding/apr_escape.c')
-rw-r--r-- | encoding/apr_escape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/encoding/apr_escape.c b/encoding/apr_escape.c index 6074d739e..91a4d0def 100644 --- a/encoding/apr_escape.c +++ b/encoding/apr_escape.c @@ -1171,7 +1171,7 @@ APR_DECLARE(apr_status_t) apr_escape_ldap(char *escaped, const void *str, } else { while (((c = *s) && slen) || (slen > 0)) { - if (((flags & APR_ESCAPE_LDAP_DN) && TEST_CHAR(c, T_ESCAPE_LDAP_DN)) + if (((flags & APR_ESCAPE_LDAP_DN) && TEST_CHAR(c, T_ESCAPE_LDAP_DN)) || ((flags & APR_ESCAPE_LDAP_FILTER) && TEST_CHAR(c, T_ESCAPE_LDAP_FILTER))) { size += 2; found = 1; |