Skip to content

Commit

Permalink
removed SES related configs from subsystem awareness
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinm-edge committed Jun 1, 2024
1 parent 6f3a3d0 commit 3687995
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions framework/one.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -2367,7 +2367,7 @@ component {
optionalOmit = true;
}
if ( optionalOmit ) {
if ( getRequestParam("SESOmitIndex") ) {
if ( variables.framework.SESOmitIndex ) {
path = getDirectoryFromPath( path );
omitIndex = true;
}
Expand Down Expand Up @@ -2831,9 +2831,7 @@ component {
"decodeRequestBody" : variables.framework.decodeRequestBody,
"routesCaseSensitive" : variables.framework.routesCaseSensitive,
"preflightOptions" : variables.framework.preflightOptions,
"optionsAccessControl" : variables.framework.optionsAccessControl,
"generateSES" : variables.framework.generateSES,
"SESOmitIndex" : variables.framework.SESOmitIndex
"optionsAccessControl" : variables.framework.optionsAccessControl
};

// if we're in a subsystem request and that subsystem has a specific config for it, apply those overrides
Expand Down Expand Up @@ -2939,7 +2937,7 @@ component {
default: request._fw1.currentRoute = '/' & pathInfo[1] & '/' & pathInfo[2] & '/'; break;
}
}
if ( ( sesN > 0 || getRequestParam("generateSES") ) && getBaseURL() != 'useRequestURI' ) {
if ( ( sesN > 0 || variables.framework.generateSES ) && getBaseURL() != 'useRequestURI' ) {
request._fw1.generateSES = true;
}
for ( var sesIx = 1; sesIx <= sesN; sesIx = sesIx + 1 ) {
Expand Down

0 comments on commit 3687995

Please sign in to comment.