From 515de36d65e634f8e705e802e29b7597bfeb1e4e Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Fri, 31 Jan 2014 12:22:20 +0000 Subject: [PATCH] Check for urldata.extPath! git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2657 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index e2a62790..213ff863 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -243,7 +243,7 @@ urldata.bkgd_color = '#' + urldata.bkgd_color; } - if (urldata.extPath.indexOf(':') > -1) { // For security reasons, disallow cross-domain extension path via URL + if (urldata.extPath && urldata.extPath.indexOf(':') > -1) { // For security reasons, disallow cross-domain extension path via URL delete urldata.extPath; }