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

{ Feature Request } Whitelist/blacklist supported file types for upload #531

Open
Chronic-Reflexes opened this issue Feb 21, 2023 · 2 comments

Comments

@Chronic-Reflexes
Copy link

Title says all

@aspacca
Copy link
Collaborator

aspacca commented Mar 1, 2023

@Chronic-Reflexes
what the list should accept as value? content type? that's easily to circumvent at the moment (https://github.com/dutchcoders/transfer.sh/blob/main/server/handlers.go#L522)

we'd need a way to identify the type of the file like the file unix does, and then understand how to translate that kind of varying output to a meaningful value to match a list

@aspacca
Copy link
Collaborator

aspacca commented Mar 10, 2023

@Chronic-Reflexes any feedback?

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

No branches or pull requests

2 participants