transfer.sh
transfer.sh copied to clipboard
{ Feature Request } Whitelist/blacklist supported file types for upload
Title says all
@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
@Chronic-Reflexes any feedback?