fix(menu) download: file name containes "#" (#80)

This commit is contained in:
coderaiser 2016-10-24 12:49:52 +03:00
parent 7479ef770c
commit 47b12bb07a

View file

@ -301,6 +301,12 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
CloudCmd.log('downloading file ' + path + '...');
/*
* if we send ajax request -
* no need in hash so we escape #
*/
path = path.replace(/#/g, '%23');
if (isDir)
path = prefixUr + PACK + path + '.tar.gz';
else