mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 14:13:26 +00:00
{ Feature Request } Whitelist/blacklist supported file types for upload #76
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Chronic-Reflexes on GitHub.
Title says all
@paolafrancesca commented on GitHub:
@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
fileunix does, and then understand how to translate that kind of varying output to a meaningful value to match a list@paolafrancesca commented on GitHub:
@Chronic-Reflexes any feedback?