BasicAuth: Accept special chars in username and password (#516)

Co-authored-by: Victor Kislov <victork@primis.tech>
This commit is contained in:
Victor KislovandVictor Kislov authored and GitHub committed 2023-11-02 19:24:42 +00:00
1 parent c834073968
commit 84285b640d
1 file changed
+1 -1
+1 -1
View File
@@ -225,7 +225,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),