Quellcode durchsuchen

Merge pull request #11151 from nextcloud/davclient-js-decode

fix js files client for user names with spaces
Joas Schilling vor 5 Jahren
Ursprung
Commit
a2c8b3f00b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      core/js/files/client.js

+ 1 - 1
core/js/files/client.js

@@ -271,7 +271,7 @@
 		 * @return {Array.<FileInfo>} array of file info
 		 */
 		_parseFileInfo: function(response) {
-			var path = response.href;
+			var path = decodeURIComponent(response.href);
 			if (path.substr(0, this._root.length) === this._root) {
 				path = path.substr(this._root.length);
 			}