summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-07-06 13:40:32 +0200
committerGitHub <noreply@github.com>2020-07-06 13:40:32 +0200
commit2d1fbabfc529e9e7e55918b50d178cf71f071743 (patch)
treede46e450152dc8d8e63cd84f4f11e744b643b29e /apps/files_external
parent01669bdc86a9d6c7428ead8bff5d0426f4915ad4 (diff)
parent4bfbed0972e3ff77e57ceb9675a366bf6e64ecee (diff)
downloadnextcloud-server-2d1fbabfc529e9e7e55918b50d178cf71f071743.tar.gz
nextcloud-server-2d1fbabfc529e9e7e55918b50d178cf71f071743.zip
Merge pull request #21343 from nextcloud/backport/21252/stable18
[stable18] update icewind/smb to 3.2.5
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/3rdparty/composer.json2
-rw-r--r--apps/files_external/3rdparty/composer.lock12
-rw-r--r--apps/files_external/3rdparty/composer/installed.json12
-rw-r--r--apps/files_external/3rdparty/icewind/smb/src/IShare.php7
-rw-r--r--apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php2
-rw-r--r--apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php4
-rw-r--r--apps/files_external/3rdparty/icewind/smb/src/Wrapped/Share.php4
7 files changed, 29 insertions, 14 deletions
diff --git a/apps/files_external/3rdparty/composer.json b/apps/files_external/3rdparty/composer.json
index 62eb72cb6b1..3e973940e1c 100644
--- a/apps/files_external/3rdparty/composer.json
+++ b/apps/files_external/3rdparty/composer.json
@@ -9,6 +9,6 @@
},
"require": {
"icewind/streams": "0.7.1",
- "icewind/smb": "^3.2.4"
+ "icewind/smb": "^3.2.5"
}
}
diff --git a/apps/files_external/3rdparty/composer.lock b/apps/files_external/3rdparty/composer.lock
index 19231a5da82..a773f31b43f 100644
--- a/apps/files_external/3rdparty/composer.lock
+++ b/apps/files_external/3rdparty/composer.lock
@@ -4,20 +4,20 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "ab745d51b0d201a3c3d3f78e5cb865c1",
+ "content-hash": "ceae723174e6d71cdd0c12ee6cb758a4",
"packages": [
{
"name": "icewind/smb",
- "version": "v3.2.4",
+ "version": "v3.2.5",
"source": {
"type": "git",
"url": "https://github.com/icewind1991/SMB.git",
- "reference": "999d6687ca9d4ac2600185c935b45206e47e604a"
+ "reference": "80921d69f5e47157c825f0bdac6c838fe0b901b2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/icewind1991/SMB/zipball/999d6687ca9d4ac2600185c935b45206e47e604a",
- "reference": "999d6687ca9d4ac2600185c935b45206e47e604a",
+ "url": "https://api.github.com/repos/icewind1991/SMB/zipball/80921d69f5e47157c825f0bdac6c838fe0b901b2",
+ "reference": "80921d69f5e47157c825f0bdac6c838fe0b901b2",
"shasum": ""
},
"require": {
@@ -46,7 +46,7 @@
}
],
"description": "php wrapper for smbclient and libsmbclient-php",
- "time": "2020-05-11T14:12:35+00:00"
+ "time": "2020-05-27T13:56:04+00:00"
},
{
"name": "icewind/streams",
diff --git a/apps/files_external/3rdparty/composer/installed.json b/apps/files_external/3rdparty/composer/installed.json
index 388a48e5560..35023ec730c 100644
--- a/apps/files_external/3rdparty/composer/installed.json
+++ b/apps/files_external/3rdparty/composer/installed.json
@@ -1,17 +1,17 @@
[
{
"name": "icewind/smb",
- "version": "v3.2.4",
- "version_normalized": "3.2.4.0",
+ "version": "v3.2.5",
+ "version_normalized": "3.2.5.0",
"source": {
"type": "git",
"url": "https://github.com/icewind1991/SMB.git",
- "reference": "999d6687ca9d4ac2600185c935b45206e47e604a"
+ "reference": "80921d69f5e47157c825f0bdac6c838fe0b901b2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/icewind1991/SMB/zipball/999d6687ca9d4ac2600185c935b45206e47e604a",
- "reference": "999d6687ca9d4ac2600185c935b45206e47e604a",
+ "url": "https://api.github.com/repos/icewind1991/SMB/zipball/80921d69f5e47157c825f0bdac6c838fe0b901b2",
+ "reference": "80921d69f5e47157c825f0bdac6c838fe0b901b2",
"shasum": ""
},
"require": {
@@ -22,7 +22,7 @@
"friendsofphp/php-cs-fixer": "^2.13",
"phpunit/phpunit": "^7.0"
},
- "time": "2020-05-11T14:12:35+00:00",
+ "time": "2020-05-27T13:56:04+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
diff --git a/apps/files_external/3rdparty/icewind/smb/src/IShare.php b/apps/files_external/3rdparty/icewind/smb/src/IShare.php
index 92a12b46f2b..d33d10bb3fb 100644
--- a/apps/files_external/3rdparty/icewind/smb/src/IShare.php
+++ b/apps/files_external/3rdparty/icewind/smb/src/IShare.php
@@ -150,4 +150,11 @@ interface IShare {
* @return INotifyHandler
*/
public function notify($path);
+
+ /**
+ * Get the IServer instance for this share
+ *
+ * @return IServer
+ */
+ public function getServer(): IServer;
}
diff --git a/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php b/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php
index 093cbb3b5dc..5b987253ada 100644
--- a/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php
+++ b/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php
@@ -141,7 +141,7 @@ class NativeFileInfo implements IFileInfo {
public function isHidden() {
$mode = $this->getMode();
if ($mode > 0x80) {
- return $this->name[0] === '.';
+ return strlen($this->name) > 0 && $this->name[0] === '.';
} else {
return (bool)($mode & IFileInfo::MODE_HIDDEN);
}
diff --git a/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php b/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php
index e829be28bf0..95ee3f489b9 100644
--- a/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php
+++ b/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php
@@ -350,6 +350,10 @@ class NativeShare extends AbstractShare {
return $share->notify($path);
}
+ public function getServer(): IServer {
+ return $this->server;
+ }
+
public function __destruct() {
unset($this->state);
}
diff --git a/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Share.php b/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Share.php
index e0df1f60326..ea386a87bfc 100644
--- a/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Share.php
+++ b/apps/files_external/3rdparty/icewind/smb/src/Wrapped/Share.php
@@ -552,6 +552,10 @@ class Share extends AbstractShare {
return $acls;
}
+ public function getServer(): IServer {
+ return $this->server;
+ }
+
public function __destruct() {
unset($this->connection);
}