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
master
Brett Zamir 2014-04-09 04:26:34 +00:00
parent d84a4465d2
commit 856d1971c2
1 changed files with 1 additions and 6 deletions

View File

@ -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();
@ -507,11 +507,6 @@ TODOS
}
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) {
editor.loadFromURL(urldata.url);
return;