mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Fixed missing end quote in the WWW-Authenticate header.
This commit is contained in:
parent
5db10733d5
commit
3da32bd327
1 changed files with 1 additions and 1 deletions
2
httpd.c
2
httpd.c
|
@ -251,7 +251,7 @@ void httpd_connection(FILE *f)
|
|||
headers = xs_dict_append(headers, "location", body);
|
||||
|
||||
if (status == 401) {
|
||||
xs *www_auth = xs_fmt("Basic realm=\"%s snac login", xs_dict_get(srv_config, "host"));
|
||||
xs *www_auth = xs_fmt("Basic realm=\"%s snac login\"", xs_dict_get(srv_config, "host"));
|
||||
headers = xs_dict_append(headers, "WWW-Authenticate", www_auth);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue