Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed support for binary files #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Earlchaos
Copy link

Hi,

i've fixed support for binary files.

I also did some cleanup, indenting, removed semicolons, changed curly brackets to the same scheme always and i've added an example for browsing local directory in browser with support for view/download files (serve_dir_or_file_from).

There was also an issue with older tree version (i've 1.5.2 here) which i've fixed.
It treats "" as directory, weird but it stopped the serve_dir stuff working.

Additionally i've added character encoding.

There's still an issue with filenames with spaces in it. Maybe will check next week.

Cheers, Frank

Cleanup, indenting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants