summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--daemon/httpauthd.c2
2 files changed, 2 insertions, 1 deletions
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)
{