]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #552: Unbound assumes index.html exists on RPZ host.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 2 Nov 2021 15:45:02 +0000 (16:45 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 2 Nov 2021 15:45:02 +0000 (16:45 +0100)
doc/Changelog
services/authzone.c

index fe4b81f15a4b09b5e8838ade5b92b968b8027fad..565a3e4df6ecc991282bbb52a375a279083853cb 100644 (file)
@@ -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.
index 44dda2a71a533cef27db64bc65a887e9d4fccab6..696fcbd8566c998d13e4c3172bf75eba8aa6a97b 100644 (file)
@@ -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");