add encodeURIComponent in urlConstruct

This commit is contained in:
flatgreen 2019-08-26 14:02:46 +02:00
parent e32fee050a
commit 8b7742cb7b
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ function makeRequest(url) {
}
function urlConstruct(url, autostart) {
return JD2_API_URL + "autostart=" + autostart + "&urls=" + url;
return JD2_API_URL + "autostart=" + autostart + "&urls=" + encodeURIComponent(url);
}

View File

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "UrlToJD2",
"version": "1.0",
"version": "1.1",
"description": "Push the current url navigator to JDownloader 2",
"developer": {