diff options
author | default <nobody@localhost> | 2023-06-24 08:07:46 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-06-24 08:07:46 +0200 |
commit | 3da32bd327642659b6ea96c29a5a581bdfc52ff9 (patch) | |
tree | cad66cf977a77536d60ea513b0c5b71ced9638c0 /httpd.c | |
parent | 5db10733d5f07e6e513b8ef15325d92195630808 (diff) |
Fixed missing end quote in the WWW-Authenticate header.
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |