Merge "Encode project name in download commands" into stable-2.15
This commit is contained in:
commit
d65609a7fa
@ -247,9 +247,9 @@
|
|||||||
commands.push({
|
commands.push({
|
||||||
title,
|
title,
|
||||||
command: commandObj[title]
|
command: commandObj[title]
|
||||||
.replace('${project}', project)
|
.replace('${project}', encodeURI(project))
|
||||||
.replace('${project-base-name}',
|
.replace('${project-base-name}',
|
||||||
project.substring(project.lastIndexOf('/') + 1)),
|
encodeURI(project.substring(project.lastIndexOf('/') + 1))),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return commands;
|
return commands;
|
||||||
|
Loading…
Reference in New Issue
Block a user