Completed
Push — master ( 3ab905...14023c )
by
unknown
21:59 queued 15s
created
apps/dav/lib/Files/Sharing/FilesDropPlugin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 		// If we have a nickname, let's put everything inside
128 128
 		if ($nickname) {
129 129
 			// Put all files in the subfolder
130
-			$relativePath = '/' . $nickname . '/' . $relativePath;
130
+			$relativePath = '/'.$nickname.'/'.$relativePath;
131 131
 			$relativePath = str_replace('//', '/', $relativePath);
132 132
 		}
133 133
 
@@ -172,8 +172,8 @@  discard block
 block discarded – undo
172 172
 		// Finally handle conflicts on the end files
173 173
 		$uniqueName = $folder->getNonExistingName(basename($relativePath));
174 174
 		$relativePath = substr($folder->getPath(), strlen($node->getPath()));
175
-		$path = '/files/' . $token . '/' . $relativePath . '/' . $uniqueName;
176
-		$url = rtrim($request->getBaseUrl(), '/') . str_replace('//', '/', $path);
175
+		$path = '/files/'.$token.'/'.$relativePath.'/'.$uniqueName;
176
+		$url = rtrim($request->getBaseUrl(), '/').str_replace('//', '/', $path);
177 177
 		$request->setUrl($url);
178 178
 	}
179 179
 
Please login to merge, or discard this patch.