We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 97f6b7a + 2f71121 commit 1f11eefCopy full SHA for 1f11eef
src/ReferenceContext.php
@@ -92,7 +92,7 @@ private function normalizeUri($uri)
92
}
93
if (stripos(PHP_OS, 'WIN') === 0 && strncmp(substr($uri, 1), ':\\', 2) === 0) {
94
$uri = $this->reduceDots($uri);
95
- return "file:///" . strtr($uri, [' ' => '%20', '\\' => '/']);
+ return "file://" . strtr($uri, [' ' => '%20', '\\' => '/']);
96
97
throw new UnresolvableReferenceException('Can not resolve references for a specification given as a relative path.');
98
0 commit comments