You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
download filename from server with '#' in file name #503
Any files .txt a can dowload. But file (for ex) log#123.txt - i see link to download, but download not start.
src/web/server.py
class DownloadResultFile(AuthorizedStaticFileHandler):
@check_authorization
def validate_absolute_path(self, root, absolute_path):
absolute_path here is a string from begin to log.
all from # is lost.
I patch it with:
src/utils/file_utils.py
create_unique_filename
preferred_path = preferred_path.replace('#','N')
Activity
bugy commentedon Nov 17, 2021
Hi, thanks for reporting!
#503 fixed output file downloading in case of URL characters