We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d79f9f4 + 21bcec0 commit ff5c65aCopy full SHA for ff5c65a
src/Loaders/File.php
@@ -51,7 +51,7 @@ public function loadSchema(string $uri)
51
if (isset($this->schemas[$uri])) {
52
return $this->schemas[$uri];
53
}
54
- if (strpos($uri, $this->prefix) !== 0) {
+ if ($this->prefixLength !== 0 && strpos($uri, $this->prefix) !== 0) {
55
return null;
56
57
$path = substr($uri, $this->prefixLength);
0 commit comments