Skip to content

Commit 1d301ca

Browse files
[ BugFix ] Escape spaces when normalizing paths (#85)
1 parent 23c829c commit 1d301ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Platform.php

+2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ public static function temp_test_path(string $path = ''): string
2626

2727
public static function normalizePath(string $path): string
2828
{
29+
$path = str_replace(' ', '\ ', $path);
30+
2931
if ((new self)->isWindows()) {
3032
return str_replace('\\', '/', $path);
3133
}

0 commit comments

Comments
 (0)