ACLs for the input data and commands are found at FML::Restriction class.
For example, CGI modules use FML::Restriction::CGI class to check if the input data matches the proper regular expression.
Though FML::Restriction inherits FML::Restriction::Base class, fundamentally each module should use FML::Restriction as object composition. For example, use in the following way:
use FML::Restriction::CGI; $safe = new FML::Restriction::CGI; my $allowed_regexp = $safe->param_regexp(); if ($value =~ /^$allowed_regexp{$key}$) { ... ok, do something ... ;}
Copyright (C) 1993-2025 Ken'ichi Fukamachi mail:< fukachan at fml.org >