From 4e966060161b0f86e31a23d0eb55c202ee75da35 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 26 Sep 2006 00:17:24 +0000 Subject: - Allow numbers in handler names. --- ChangeLog | 1 + daemon/httpauthd.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f9134d9..4b77163 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 0.5.4 - Fix crasher when doing basic auth. + - Allow numbers in handler names. 0.5.3 - Guarantee unique connection identfier for NTLM when using apache2 diff --git a/daemon/httpauthd.c b/daemon/httpauthd.c index 06fc64b..f335a40 100644 --- a/daemon/httpauthd.c +++ b/daemon/httpauthd.c @@ -1265,7 +1265,7 @@ static ha_context_t* config_addhandler(ha_buffer_t* buf, const char* alias, return &(loaded->ctx); } -#define VALID_ALIAS_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ_-." +#define VALID_ALIAS_CHARS "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ_-.0123456789" static int config_parse(const char* file, ha_buffer_t* buf) { -- cgit v1.2.3