diff options
author | Vsevolod Kukol <v.kukol@rubologic.de> | 2013-12-11 17:21:34 +0100 |
---|---|---|
committer | Vsevolod Kukol <v.kukol@rubologic.de> | 2013-12-11 17:21:34 +0100 |
commit | a8f814fe2d979ef8375f9dd7dff68f31f816cb44 (patch) | |
tree | dce4c71701f37a01f47cc13256b74875306cc6ab /apps/files_external | |
parent | 28180485d9d767a081656e403fe7c8210957f976 (diff) | |
download | nextcloud-server-a8f814fe2d979ef8375f9dd7dff68f31f816cb44.tar.gz nextcloud-server-a8f814fe2d979ef8375f9dd7dff68f31f816cb44.zip |
fix smbclient directory listing parser
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/3rdparty/smb4php/smb.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/3rdparty/smb4php/smb.php b/apps/files_external/3rdparty/smb4php/smb.php index 87638271f0e..f9ee51f8306 100644 --- a/apps/files_external/3rdparty/smb4php/smb.php +++ b/apps/files_external/3rdparty/smb4php/smb.php @@ -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 ( |