fix(web(js)): improve encoding of folder paths in XHR calls

Fixes #4989
This commit is contained in:
Francis Lachapelle
2020-05-04 18:42:44 -04:00
parent cbf3d89f3e
commit e7da4c19b8
3 changed files with 32 additions and 23 deletions

View File

@@ -209,10 +209,7 @@
* @returns the relative URL, properly encoded
*/
Card.prototype.$path = function() {
return [
Card.encodeUri(this.pid),
Card.encodeUri(this.id)
].join('/');
return [this.pid, this.id];
};
/**