file export bug fix.

This commit is contained in:
ONLYOFFICE 2014-10-23 11:53:28 +04:00
parent fccd19770d
commit 1302e2e924

View file

@ -84,6 +84,8 @@
}; };
} }
function getFile(filePath) { function getFile(filePath) {
var VRegExp = new RegExp(/^http(s)?:\/\/[a-z0-9-.]+(:[\d]*)?\//i);
filePath = filePath.replace(VRegExp, "/");
fh = new FileHandler(); fh = new FileHandler();
fh.get(filePath); fh.get(filePath);
} }