Skip to content

Commit 7a19e16

Browse files
committed
COLDBOX-1360 #resolve
Bootstrap was not returning false or true on the right location for onRequestStart
1 parent 8baa65a commit 7a19e16

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

system/Bootstrap.cfc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,12 +501,13 @@ component serializable="false" accessors="true" {
501501
// If the file is "index.(cfm|bxm)" then we will process it
502502
if ( reFindNoCase( "index\.(cfm|bxm)", listLast( arguments.targetPage, "/" ) ) ) {
503503
processColdBoxRequest();
504+
return false;
504505
} else {
505506
// Just load the module mappings in case we are in a module request or a web socket request.
506507
application[ locateAppKey() ].getModuleService().loadMappings();
508+
return true;
507509
}
508510

509-
return true;
510511
}
511512

512513
/**

0 commit comments

Comments
 (0)