We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd6a690 commit ab65493Copy full SHA for ab65493
src/File/FileHelper.php
@@ -59,7 +59,7 @@ public function normalizePath(string $originalPath, string $directorySeparator =
59
if ($originalPath !== '') {
60
if ($originalPath[0] === '/') {
61
$isLocalPath = true;
62
- } elseif (strlen($originalPath) >= 3 && in_array($originalPath[0], range('A', 'Z'), true) && $originalPath[1] === ':' && $originalPath[2] === '\\') {
+ } elseif (strlen($originalPath) >= 3 && $originalPath[1] === ':' && $originalPath[2] === '\\') { // e.g. C:\\
63
64
}
65
0 commit comments