Remove paramurl parameter as it encouraged improper encoding of a URL within the SVG Edit URL
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2815 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -487,7 +487,7 @@ TODOS
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
editor.setConfig(urldata, {overwrite: false}); // Note: source, url, and paramurl (as with storagePrompt later) are not set on config but are used below
|
editor.setConfig(urldata, {overwrite: false}); // Note: source and url (as with storagePrompt later) are not set on config but are used below
|
||||||
|
|
||||||
setupCurConfig();
|
setupCurConfig();
|
||||||
|
|
||||||
@@ -507,11 +507,6 @@ TODOS
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (qstr.indexOf('paramurl=') !== -1) {
|
|
||||||
// Get parameter URL (use full length of remaining location.href)
|
|
||||||
editor.loadFromURL(qstr.substr(9));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (urldata.url) {
|
if (urldata.url) {
|
||||||
editor.loadFromURL(urldata.url);
|
editor.loadFromURL(urldata.url);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user