Skip to content

Commit

Permalink
Encode/Decode Launcher string in case of special charactors
Browse files Browse the repository at this point in the history
  • Loading branch information
NI committed Aug 29, 2019
1 parent c815f73 commit 824f00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/commands/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ class Builder {
return new Wizard(
this.launchCmd(
new Info(this),
launcher,
decodeURI(launcher),
streams,
subs,
controls,
Expand All @@ -694,7 +694,7 @@ class Builder {
* @return {string} Launcher string
*/
launcher(config) {
return this.name() + ":" + this.launcherCmd(config);
return this.name() + ":" + encodeURI(this.launcherCmd(config));
}
}

Expand Down

0 comments on commit 824f00b

Please sign in to comment.