From 7458ecf280f7e4261b17ce650dedd5f96502c370 Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Mon, 6 Aug 2018 09:52:37 +0200
Subject: [PATCH] Bugfix: properly build schema path

This used to be like this, but got changed in 67dc1b150e0dd32fb2c839bc23c84a6c0c1895ae, which seems like an accidental action?
This takes care of #894
---
 lib/SimpleSAML/Utils/XML.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/SimpleSAML/Utils/XML.php b/lib/SimpleSAML/Utils/XML.php
index 002212e16..8d1a5f12b 100644
--- a/lib/SimpleSAML/Utils/XML.php
+++ b/lib/SimpleSAML/Utils/XML.php
@@ -432,8 +432,7 @@ class XML
             $config = \SimpleSAML\Configuration::getInstance();
             /** @var string $schemaPath */
             $schemaPath = $config->resolvePath('schemas');
-            $schemaPath .= './';
-            $schemaFile = $schemaPath.$schema;
+            $schemaFile = $schemaPath.'/'.$schema;
 
             $res = $dom->schemaValidate($schemaFile);
             if ($res) {
-- 
GitLab