Check for urldata.extPath!
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2657 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -243,7 +243,7 @@
|
|||||||
urldata.bkgd_color = '#' + urldata.bkgd_color;
|
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;
|
delete urldata.extPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user