mirror of
https://github.com/nextcloud/server.git
synced 2024-08-14 14:10:40 +02:00
Merge pull request #6321 from sevoku/master
fix smbclient directory listing parser
This commit is contained in:
commit
769256cb39
2
apps/files_external/3rdparty/smb4php/smb.php
vendored
2
apps/files_external/3rdparty/smb4php/smb.php
vendored
@ -160,7 +160,7 @@ class smb {
|
||||
$i = ($mode == 'servers') ? array ($name, "server") : array ($name, "workgroup", $master);
|
||||
break;
|
||||
case 'files':
|
||||
list ($attr, $name) = preg_match ("/^(.*)[ ]+([D|A|H|S|R]+)$/", trim ($regs[1]), $regs2)
|
||||
list ($attr, $name) = preg_match ("/^(.*)[ ]+([D|A|H|N|S|R]+)$/", trim ($regs[1]), $regs2)
|
||||
? array (trim ($regs2[2]), trim ($regs2[1]))
|
||||
: array ('', trim ($regs[1]));
|
||||
list ($his, $im) = array (
|
||||
|
Loading…
Reference in New Issue
Block a user