From 3ecaf9c3c9bb83f5e611beaeeccc19909630036a Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 11 Feb 2005 01:24:28 +0000 Subject: Don't escape numbers in LDAP filters --- daemon/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'daemon/ldap.c') 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) -- cgit v1.2.3