diff --git a/3rdparty b/3rdparty index 3bf7a69be3256..a573b6c3fe46b 160000 --- a/3rdparty +++ b/3rdparty @@ -1 +1 @@ -Subproject commit 3bf7a69be325615b0585fc4c66e9497120aa9072 +Subproject commit a573b6c3fe46bfb3db83da1bc8b0a0ade489570a diff --git a/build/integration/features/bootstrap/FilesDropContext.php b/build/integration/features/bootstrap/FilesDropContext.php index 0c437f28a72bd..ec99f6164c126 100644 --- a/build/integration/features/bootstrap/FilesDropContext.php +++ b/build/integration/features/bootstrap/FilesDropContext.php @@ -25,8 +25,8 @@ public function droppingFileWith($path, $content, $nickname = null) { $token = $this->lastShareData->data[0]->token; } - $base = substr($this->baseUrl, 0, -4); - $fullUrl = str_replace('//', '/', $base . "/public.php/dav/files/$token/$path"); + $base = rtrim(substr($this->baseUrl, 0, -4), '/'); + $fullUrl = $base . str_replace('//', '/', "/public.php/dav/files/$token/$path"); $options['headers'] = [ 'X-REQUESTED-WITH' => 'XMLHttpRequest', @@ -66,8 +66,8 @@ public function creatingFolderInDrop($folder, $nickname = null) { $token = $this->lastShareData->data[0]->token; } - $base = substr($this->baseUrl, 0, -4); - $fullUrl = str_replace('//', '/', $base . "/public.php/dav/files/$token/$folder"); + $base = rtrim(substr($this->baseUrl, 0, -4), '/'); + $fullUrl = $base . str_replace('//', '/', "/public.php/dav/files/$token/$folder"); $options['headers'] = [ 'X-REQUESTED-WITH' => 'XMLHttpRequest',