[Coldbox 3.8.5] Whitelist a handler sub-folder

How do you whitelist a handler sub folder in the securityRules.json file? I can’t seem to get it to work, as it is ALWAYS redirecting me back to security.login.

--------(api handler)

securelist": “…*”,
“roles”: “”,
“permissions”: “”,
“whitelist”: “^api\.,^security\.”,
“redirect”: “security.login”,
“order”: “5”,
“match”: “event”,
“useSSL”: false

Any help is appreciated.

I think your slashes are backwards. Run it in a Regex tester

I got it work. The code above was right all along, but my fwreinit password was wrong since it was not on a localhost anymore.