Skip to content

Commit 1f11eef

Browse files
authored
Merge pull request cebe#93 from Insolita/92-fix
fix cebe#92
2 parents 97f6b7a + 2f71121 commit 1f11eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReferenceContext.php

+1-1
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)