]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- sidzone-zone-load, set no_includes option for http transferred files.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Jan 2026 12:43:16 +0000 (13:43 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 16 Jan 2026 12:43:16 +0000 (13:43 +0100)
services/authzone.c

index ac603e3f0238c33196654d440ffbb8120b4bade5..bb58bab28681194230504c551662af34f2f348a8 100644 (file)
@@ -5452,6 +5452,7 @@ parse_http_simdzone(struct auth_xfer* xfr, struct auth_zone* z)
        options.default_class = LDNS_RR_CLASS_IN;
        options.secondary = z->zone_is_slave;
        options.pretty_ttls = true; /* non-standard, for backwards compatibility */
+       options.no_includes = true; /* the secondary zone file transferred over https is not expected to have $INCLUDE files. */
        /* The log callback for file read prints the error and can be used
         * here too. */
        options.log.callback = &az_parse_log;