X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/blobdiff_plain/92e53e57a4740b172eafb1cc91e9c19c85e95a0b..00c5e40cdda24456519762da186538e34b81968a:/httpd.c diff --git a/httpd.c b/httpd.c index e5ee270..90d4e42 100644 --- a/httpd.c +++ b/httpd.c @@ -277,7 +277,7 @@ char *got_data(struct connctx *ctx, char *data, int length, ret = http_error("404", "Not Found", NULL, "This is not a valid pathname index."); } else { - document = html_query(ctx->t, index, cfg); + document = html_query(ctx->t, index, cfg, 1); if (document) { ret = http_success("text/html", 1, document); sfree(document);