add encodeURIComponent in urlConstruct
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user