diff --git a/background.js b/background.js index c1afbbc..8da6141 100644 --- a/background.js +++ b/background.js @@ -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); } diff --git a/manifest.json b/manifest.json index b3c8966..158848d 100644 --- a/manifest.json +++ b/manifest.json @@ -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": {