From a35ed8c98903d756e107ee41c6e69da4988b1dad Mon Sep 17 00:00:00 2001 From: rofl0r Date: Mon, 4 Mar 2019 14:20:26 +0000 Subject: [PATCH] basic auth config: allow same chars as in upstream config the character set for username and password was limited to alphanumeric only in the past. closes #229 --- src/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 4e6d19e..b0e47a8 100644 --- a/src/conf.c +++ b/src/conf.c @@ -223,7 +223,7 @@ struct { handle_deny), STDCONF (bind, "(" IP "|" IPV6 ")", handle_bind), /* other */ - STDCONF (basicauth, ALNUM WS ALNUM, handle_basicauth), + STDCONF (basicauth, USERNAME WS PASSWORD, handle_basicauth), STDCONF (errorfile, INT WS STR, handle_errorfile), STDCONF (addheader, STR WS STR, handle_addheader),