View Issue Details

IDProjectCategoryView StatusLast Update
0006100unrealircdpublic2022-05-11 07:50
Reportersyzop Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version6.0.3 
Summary0006100: URL within block is fetched even if @if evaluates to false
DescriptionThe modules.default.conf contains:
@if module-loaded("geoip_classic")
set {
        geoip-classic {
                ipv4-database "https://www.unrealircd.org/files/geo/classic/GeoIP.dat" { url-refresh 14d; }
                ipv6-database "https://www.unrealircd.org/files/geo/classic/GeoIPv6.dat" { url-refresh 14d; }
        }
}
@endif

However, the URL is fetched even if geoip_classic is not loaded (eg no loadmodule line or there is a blacklist-module for it).

Fixing this would require adding an extra "stage", so that would not be like an easy fix/change, but it is good to have an issue for it.
TagsNo tags attached.
3rd party modules

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-05-11 07:48 syzop New Issue
2022-05-11 07:48 syzop Description Updated
2022-05-11 07:50 syzop Description Updated
2022-05-11 07:50 syzop Assigned To => syzop
2022-05-11 07:50 syzop Status new => acknowledged