It seems that after upgrade from v4 to v6, overriding event in the onInvalidEvent interceptor handler is also changing rc.event to the new event, but it didn’t use to do that.
For example if I try to go to: https://mysite.com/index.cfm?event=invalidevent.invalidaction, it’ll hit onInvalidEvent, where we have the following code to override/redirect:
arguments.interceptData.override = true;
In version 4, rc.event will stay as “invalidevent.invalidaction”, but it seems that in version 6 it’s changed to correctEvent.correctAction.
Is this expected behaviour? If so, is there any way to prevent this from happening?