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

Files with different encoding or non-ASCII characters not handled correctly #12

Open
Potherca opened this issue Jun 16, 2023 · 0 comments
Labels

Comments

@Potherca
Copy link
Member

When a file that contains "binary characters" (i.e. non-ASCII or non-printable characters) is read by the fiesystem and passed to http for output, the JSON parser errors out:

Malformed UTF-8 characters, possibly incorrectly encoded

Some form of file filtering or content handling needs to be added to make sure the application does not error out when listing directory contents that contains such files.

This was discovered when .DS_store files where mounted into the docker image, triggereing the above error.

@Potherca Potherca added the bug label Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant