Skip to content

Commit 0152bae

Browse files
committed
Fix infitite recursion (#2367)
1 parent 0d3b547 commit 0152bae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/SimpleSAML/Auth/ProcessingChain.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use SimpleSAML\Assert\Assert;
1010
use SimpleSAML\SAML2\Exception\Protocol\NoPassiveException;
1111
use Symfony\Component\HttpFoundation\Response;
12+
use Symfony\Component\VarExporter\VarExporter;
1213

1314
use function array_key_exists;
1415
use function array_shift;
@@ -19,7 +20,6 @@
1920
use function is_string;
2021
use function sprintf;
2122
use function str_replace;
22-
use function var_export;
2323

2424
/**
2525
* Class for implementing authentication processing chains for IdPs.
@@ -87,7 +87,7 @@ public function __construct(array $idpMetadata, array $spMetadata, string $mode
8787
}
8888

8989
Logger::debug('Filter config for ' . $idpMetadata['entityid'] . '->' .
90-
$spMetadata['entityid'] . ': ' . str_replace("\n", '', var_export($this->filters, true)));
90+
$spMetadata['entityid'] . ': ' . str_replace("\n", '', VarExporter::export($this->filters)));
9191
}
9292

9393

0 commit comments

Comments
 (0)