Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cce7eb6

Browse filesBrowse files
committed
Use normalize
1 parent 3ec79a6 commit cce7eb6
Copy full SHA for cce7eb6

File tree

1 file changed

+1
-1
lines changed
Filter options
  • src/Symfony/Component/Filesystem

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Filesystem/Path.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Filesystem/Path.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static function canonicalize(string $path): string
8686
$path = self::getHomeDirectory().mb_substr($path, 1);
8787
}
8888

89-
$path = str_replace('\\', '/', $path);
89+
$path = self::normalize($path);
9090

9191
[$root, $pathWithoutRoot] = self::split($path);
9292

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.