From: W.C.A. Wijngaards Date: Tue, 2 Nov 2021 15:45:02 +0000 (+0100) Subject: - Fix #552: Unbound assumes index.html exists on RPZ host. X-Git-Tag: release-1.14.0rc1~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a94a68fc228c1d3a5e5268267b900ae95612e31;p=thirdparty%2Funbound.git - Fix #552: Unbound assumes index.html exists on RPZ host. --- diff --git a/doc/Changelog b/doc/Changelog index fe4b81f15..565a3e4df 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +2 November 2021: Wouter + - Fix #552: Unbound assumes index.html exists on RPZ host. + 11 October 2021: Wouter - Fix chaos replies to have truncation for short message lengths, or long reply strings. diff --git a/services/authzone.c b/services/authzone.c index 44dda2a71..696fcbd85 100644 --- a/services/authzone.c +++ b/services/authzone.c @@ -7160,7 +7160,7 @@ parse_url(char* url, char** host, char** file, int* port, int* ssl) while(p && *p == '/') p++; if(!p || p[0] == 0) - *file = strdup("index.html"); + *file = strdup("/"); else *file = strdup(p); if(!*file) { log_err("malloc failure");