Basic Authentication - Accept special characters in username and password configuration setting, matching the USERNAME and PASSWORD regexp constants respectively.
This commit is contained in:
parent
c834073968
commit
7635e4258c
@ -225,7 +225,7 @@ struct {
|
|||||||
handle_deny),
|
handle_deny),
|
||||||
STDCONF (bind, "(" IP "|" IPV6 ")", handle_bind),
|
STDCONF (bind, "(" IP "|" IPV6 ")", handle_bind),
|
||||||
/* other */
|
/* other */
|
||||||
STDCONF (basicauth, ALNUM WS ALNUM, handle_basicauth),
|
STDCONF (basicauth, USERNAME WS PASSWORD, handle_basicauth),
|
||||||
STDCONF (errorfile, INT WS STR, handle_errorfile),
|
STDCONF (errorfile, INT WS STR, handle_errorfile),
|
||||||
STDCONF (addheader, STR WS STR, handle_addheader),
|
STDCONF (addheader, STR WS STR, handle_addheader),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user