diff --git a/lib/client/menu.js b/lib/client/menu.js index 013990d7..2e171b34 100644 --- a/lib/client/menu.js +++ b/lib/client/menu.js @@ -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