Check for urldata.extPath!
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2657 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
c5fbdce9cd
commit
515de36d65
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue