add encodeURIComponent in urlConstruct
This commit is contained in:
parent
e32fee050a
commit
8b7742cb7b
@ -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,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "UrlToJD2",
|
||||
"version": "1.0",
|
||||
"version": "1.1",
|
||||
"description": "Push the current url navigator to JDownloader 2",
|
||||
|
||||
"developer": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user