Controller/Adminhtml/FastlyCdn/Waf/WafAllowlist.php
private function prepareAcls($allowedAcls)
    {
        $result = '';

        if ($allowedAcls != null) {
            $allowedAclsPieces = explode(",", $allowedAcls);
            foreach ($allowedAclsPieces as $acl) {
                $result .= ' req.http.Fastly-Client-Ip ~ ' . $acl . ' ||';
            }
        }

        return $result;
    }
private function prepareAcls($allowedAcls)
    {
        $result = '';

        if ($allowedAcls != null) {
            $allowedAclsPieces = explode(",", $allowedAcls);
            foreach ($allowedAclsPieces as $acl) {
                $result .= ' req.http.Fastly-Client-Ip ~ ' . $acl . ' ||';
            }
        }

        return $result;
    }
private function prepareAcls ( $ allowedAcls ) { $ result = '' ; if ( $ allowedAcls != null ) { $ allowedAclsPieces = explode ( "," , $ allowedAcls ) ; foreach ( $ allowedAclsPieces as $ acl ) { $ result .= ' req.http.Fastly-Client-Ip ~ ' . $ acl . ' ||' ; } } return $ result ; }
Prepares ACL VCL snippets

@param $allowedAcls
@return string
Prepares ACL VCL snippets