Skip to content

Commit a4ad395

Browse files
author
Slavey Karadzhov
committed
Fixed bug related to incorrect path translation on Windows systems.
Fixes issue #19.
1 parent 090869c commit a4ad395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/Client/src/Client/Service/PathInvokable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function getAbsolute($path)
2424

2525
if (
2626
strpos($path, '/')!==0 ||
27-
($isWindows && !preg_match("/^[a-z]:\\/i", $path))
27+
($isWindows && !preg_match("/^[a-z]:\\\/i", $path))
2828
) { // if we have relative path
2929
$cwd = $this->getCwd();
3030
$path = $cwd.'/'.$path;

0 commit comments

Comments
 (0)