SES Interceptor overrides isSES Enabled configuration set in Routes.cfm on config

Description

When setting the SES Interceptor to setEnabled(false) in the Routes.cfc, the interceptors Configure method resets the setting to "true" hard coded.
replacing:
controller.getRequestService().getContext()
.setIsSES( true )
.setSESBaseURL( instance.baseURL );

with
controller.getRequestService().getContext()
.setIsSES( instance.enabled )
.setSESBaseURL( instance.baseURL );

seems to fix it.

Fixed

Assignee

Luis Majano

Reporter

Cam Penner

Labels

Components

Fix versions

Affects versions

Priority

Minor
Configure