File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212$ headers = $ config ->getOptionalArray ('headers.security ' , Configuration::DEFAULT_SECURITY_HEADERS );
1313$ redirect = Module::getModuleURL ('admin/ ' );
14- $ response = $ httpUtils-> redirectTrustedURL ( $ redirect );
14+ $ response = new HTTP \ RunnableResponse ([ $ httpUtils, ' redirectTrustedURL ' ], [ $ redirect] );
1515foreach ($ headers as $ header => $ value ) {
1616 // Some pages may have specific requirements that we must follow. Don't touch them.
1717 if (!$ response ->headers ->has ($ header )) {
Original file line number Diff line number Diff line change 1111
1212$ headers = $ config ->getOptionalArray ('headers.security ' , Configuration::DEFAULT_SECURITY_HEADERS );
1313$ redirect = $ config ->getOptionalString ('frontpage.redirect ' , Module::getModuleURL ('core/welcome ' ));
14- $ response = $ httpUtils-> redirectTrustedURL ( $ redirect );
14+ $ response = new HTTP \ RunnableResponse ([ $ httpUtils, ' redirectTrustedURL ' ], [ $ redirect] );
1515foreach ($ headers as $ header => $ value ) {
1616 // Some pages may have specific requirements that we must follow. Don't touch them.
1717 if (!$ response ->headers ->has ($ header )) {
You can’t perform that action at this time.
0 commit comments