Skip to content

Commit 2f71121

Browse files
committed
fix #92
1 parent 97f6b7a commit 2f71121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReferenceContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private function normalizeUri($uri)
9292
}
9393
if (stripos(PHP_OS, 'WIN') === 0 && strncmp(substr($uri, 1), ':\\', 2) === 0) {
9494
$uri = $this->reduceDots($uri);
95-
return "file:///" . strtr($uri, [' ' => '%20', '\\' => '/']);
95+
return "file://" . strtr($uri, [' ' => '%20', '\\' => '/']);
9696
}
9797
throw new UnresolvableReferenceException('Can not resolve references for a specification given as a relative path.');
9898
}

0 commit comments

Comments
 (0)