diff --git a/lib/manager/v2/Path.js b/lib/manager/v2/Path.js index 5bb00816..e676a9dc 100644 --- a/lib/manager/v2/Path.js +++ b/lib/manager/v2/Path.js @@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); var Path = (function () { function Path(path) { if (path.constructor === String) { - var sPath = decodeURI(path); + var sPath = path; var doubleIndex = void 0; while ((doubleIndex = sPath.indexOf('//')) !== -1) sPath = sPath.substr(0, doubleIndex) + sPath.substr(doubleIndex + 1); diff --git a/src/manager/v2/Path.ts b/src/manager/v2/Path.ts index 0d9f77f3..cf890263 100644 --- a/src/manager/v2/Path.ts +++ b/src/manager/v2/Path.ts @@ -7,7 +7,7 @@ export class Path { if(path.constructor === String) { - let sPath = decodeURI((path as string)); + let sPath = path as string; let doubleIndex; while((doubleIndex = sPath.indexOf('//')) !== -1) sPath = sPath.substr(0, doubleIndex) + sPath.substr(doubleIndex + 1);