summaryrefslogtreecommitdiff
path: root/daemon/ldap.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2005-02-11 01:24:28 +0000
committerStef Walter <stef@memberwebs.com>2005-02-11 01:24:28 +0000
commit3ecaf9c3c9bb83f5e611beaeeccc19909630036a (patch)
treed3af2892ac4dd6bf58b81e2577b2a9cc9378e0d9 /daemon/ldap.c
parent07ea8f7fa82a0ba990c857cdb93b298abf208b60 (diff)
Don't escape numbers in LDAP filters
Diffstat (limited to 'daemon/ldap.c')
-rw-r--r--daemon/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/ldap.c b/daemon/ldap.c
index 044490f..946e5ed 100644
--- a/daemon/ldap.c
+++ b/daemon/ldap.c
@@ -156,7 +156,7 @@ static int report_ldap(const ha_request_t* rq, const char* msg, int code)
};
}
-#define LDAP_NO_ESCAPE "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_"
+#define LDAP_NO_ESCAPE "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-_0123456789"
#define LDAP_HEX "0123456789abcdef"
static void escape_ldap(const ha_request_t* rq, ha_buffer_t* buf, const char* str)