summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar default2023-06-24 08:07:46 +0200
committerGravatar default2023-06-24 08:07:46 +0200
commit3da32bd327642659b6ea96c29a5a581bdfc52ff9 (patch)
treecad66cf977a77536d60ea513b0c5b71ced9638c0 /httpd.c
parentDeleted the link to snac on OpenBSD. (diff)
downloadpenes-snac2-3da32bd327642659b6ea96c29a5a581bdfc52ff9.tar.gz
penes-snac2-3da32bd327642659b6ea96c29a5a581bdfc52ff9.tar.xz
penes-snac2-3da32bd327642659b6ea96c29a5a581bdfc52ff9.zip
Fixed missing end quote in the WWW-Authenticate header.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index fe885d7..5409b85 100644
--- a/httpd.c
+++ b/httpd.c
@@ -251,7 +251,7 @@ void httpd_connection(FILE *f)
251 headers = xs_dict_append(headers, "location", body); 251 headers = xs_dict_append(headers, "location", body);
252 252
253 if (status == 401) { 253 if (status == 401) {
254 xs *www_auth = xs_fmt("Basic realm=\"%s snac login", xs_dict_get(srv_config, "host")); 254 xs *www_auth = xs_fmt("Basic realm=\"%s snac login\"", xs_dict_get(srv_config, "host"));
255 headers = xs_dict_append(headers, "WWW-Authenticate", www_auth); 255 headers = xs_dict_append(headers, "WWW-Authenticate", www_auth);
256 } 256 }
257 257