Skip to content

Commit

Permalink
file export bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ONLYOFFICE committed Oct 23, 2014
1 parent fccd197 commit 1302e2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OfficeWeb/sdk/Common/downloaderfiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
};
}
function getFile(filePath) {
var VRegExp = new RegExp(/^http(s)?:\/\/[a-z0-9-.]+(:[\d]*)?\//i);
filePath = filePath.replace(VRegExp, "/");
fh = new FileHandler();
fh.get(filePath);
}

0 comments on commit 1302e2e

Please sign in to comment.