File extensions with multiple periods not processed correctly

Hello

I want to allow people to upload .tar.gz (gzipped tar) on our forum. I have added tgz and .tar.gz as valid file extensions in Settings -> Files.

However when I try and upload a .tar.gz file, it is rejected, and Discourse says that acceptable formats include ‘targz’:

Discourse should be able to handle attachments with more than one dot in the file extension.

Cheers

Sam

1 Like

I think you need to enable the gz extension.

4 Likes

That worked. Thank you :slight_smile: