Skip to content

Commit

Permalink
skip the re-replacement of super globals for soap when already replaced
Browse files Browse the repository at this point in the history
  • Loading branch information
jeph864 committed Nov 24, 2023
1 parent 4ee10f1 commit 6af7008
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Services/Init/classes/class.ilInitialisation.php
Original file line number Diff line number Diff line change
Expand Up @@ -1528,6 +1528,9 @@ protected static function replaceSuperGlobals(\ILIAS\DI\Container $container): v
);

if ($replace_super_globals) {
if(ilContext::getType() == ilContext::CONTEXT_SOAP_NO_AUTH){
return;
}
$throwOnValueAssignment = defined('DEVMODE') && DEVMODE;

$_GET = new SuperGlobalDropInReplacement($container['refinery'], $_GET, $throwOnValueAssignment);
Expand Down

0 comments on commit 6af7008

Please sign in to comment.