diff --git a/src/manager/v2/Path.ts b/src/manager/v2/Path.ts index 2445cd62..25f36817 100644 --- a/src/manager/v2/Path.ts +++ b/src/manager/v2/Path.ts @@ -28,7 +28,12 @@ export class Path decode() : void { - this.paths = this.paths.map(decodeURIComponent); + // FIX: crash when paths contains invalid path, example '%NETHOOD%' + try { + this.paths = this.paths.map(decodeURIComponent); + } catch (e) { + console.log(e) + } } isRoot() : boolean