invalidEventHandler throws exception with cbsecurity 2

Description

App with cbsecurity 2 & default settings throws exception when calling invalid events:

1 The invalidEventHandler event is also invalid The invalidEventHandler setting is also invalid: General.pagenotfound. Please check your settings

However, General.pagenotfound is a valid event.

To reproduce:

1. coldbox create app
2. Edit Coldbox config with `invalidEventHandler = "main.onInvalidEvent",`
3. Edit handlers/Main.cfc to add onInvalidEvent event
4. Reinit and verify by invalid event handler works by loading /Main/none
5. install cbsecurity
6. Reinit and load /Main/none - you will get the exception

Status

Assignee

Unassigned

Reporter

Sean Daniels

Labels

None

Priority

Major
Configure