Check for urldata.extPath!

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2657 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Brett Zamir 2014-01-31 12:22:20 +00:00
parent c5fbdce9cd
commit 515de36d65
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}