diff options
author | Stef Walter <stef@memberwebs.com> | 2005-02-11 01:24:28 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2005-02-11 01:24:28 +0000 |
commit | 3ecaf9c3c9bb83f5e611beaeeccc19909630036a (patch) | |
tree | d3af2892ac4dd6bf58b81e2577b2a9cc9378e0d9 | |
parent | 07ea8f7fa82a0ba990c857cdb93b298abf208b60 (diff) |
Don't escape numbers in LDAP filters
-rw-r--r-- | daemon/ldap.c | 2 |
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) |