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

Co-authored-by: Victor Kislov <victork@primis.tech>
This commit is contained in:
Victor Kislov 2023-11-02 21:24:42 +02:00 committed by GitHub
parent c834073968
commit 84285b640d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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),