We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7f8434 commit 337621bCopy full SHA for 337621b
1 file changed
src/SimpleSAML/Utils/XML.php
@@ -343,7 +343,8 @@ public function isValid(string|DOMDocument $xml, string $schema)
343
344
if ($res === true) {
345
$config = Configuration::getInstance();
346
- $schemaFile = $config->getVendorDir() . 'simplesamlphp/saml2/resources/schemas/' . $schema;
+ $sysUtils = new System();
347
+ $schemaFile = $sysUtils->resolvePath($config->getVendorDir() . 'simplesamlphp/saml2/resources/schemas/' . $schema);
348
349
libxml_set_external_entity_loader(
350
/**
0 commit comments