Skip to content

A free open source IT asset/license management system

Trim SCIM keys

snipeb08148d4933e
diff --git a/app/Models/SnipeSCIMConfig.php b/app/Models/SnipeSCIMConfig.php
index 889cff3e31..5775681566 100644
--- a/app/Models/SnipeSCIMConfig.php
+++ b/app/Models/SnipeSCIMConfig.php
@@ -107,6 +107,8 @@ class SnipeRootComplex extends Complex
}
$subNode = null;
+ $path = null;
+ $key = trim($key);
if (strpos($key, ':') !== false) {
$parsed = Parser::parse($key);