#1090 mod_firewall: $local zone can't be used, $ does not pass idsafe
Reporter
Zash
Owner
Zash
Created
Updated
Stars
★★ (2)
Tags
Status-Fixed
Type-Defect
Priority-Medium
Zash
on
What steps will reproduce the problem?
Firewall rules using the $local zone
Eg:
ENTERING: $local
What is the expected output?
Successful loading of rules
What do you see instead?
An error "Invalid zone name: $local" is raised from
186 assert(idsafe(zone), "Invalid zone name: "..zone);
What steps will reproduce the problem? Firewall rules using the $local zone Eg: ENTERING: $local What is the expected output? Successful loading of rules What do you see instead? An error "Invalid zone name: $local" is raised from 186 assert(idsafe(zone), "Invalid zone name: "..zone);
Fixed in https://hg.prosody.im/prosody-modules/rev/b0d92332b87f
Changes