From 856d1971c29f8fdeff0ab6dca6fcc1aaeb8d9c24 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Wed, 9 Apr 2014 04:26:34 +0000 Subject: [PATCH] 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 --- editor/svg-editor.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 6a6fb606..aefb4925 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -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;