10000 [Finder] Allow ssh2 stream wrapper for sftp · symfony/symfony@e6c9d77 · GitHub
[go: up one dir, main page]

Skip to content

Commit e6c9d77

Browse files
[Finder] Allow ssh2 stream wrapper for sftp
Same fix as #28604 but for the ss2.sftp wrapper.
1 parent 297219b commit e6c9d77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Finder/Finder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ private function normalizeDir($dir)
746746
{
747747
$dir = rtrim($dir, '/'.\DIRECTORY_SEPARATOR);
748748

749-
if (preg_match('#^s?ftp://#', $dir)) {
749+
if (preg_match('#^(ssh2\.)?s?ftp://#', $dir)) {
750750
$dir .= '/';
751751
}
752752

0 commit comments

Comments
 (0)
0