We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d29cd6e + c7ef926 commit 4941f09Copy full SHA for 4941f09
1 file changed
src/Utils/Helpers.php
@@ -81,7 +81,7 @@ function joinPaths(string ...$args): string
81
}
82
83
84
- return preg_replace('#/+#', '/', implode(DIRECTORY_SEPARATOR, $paths));
+ return preg_replace('#(?<!:)//+#', '/', implode(DIRECTORY_SEPARATOR, $paths));
85
86
87
function ensureDirectory($filePath): void
0 commit comments