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