Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Unable to upload extension-less files && special extension files

Open staticjinno opened this issue 9 years ago • 1 comments

Description:

When trying to upload an extension-less file or special extension file (.db, .anything etc...) you get an error saying that the media type is not accepted, although the allowed files list is empty (allow all files).

Server Setup Information:

  • Version of Rocket.Chat Server: Tried on both 0.58.2(Latest) and on 0.59.0-rc.4
  • Operating System: Docker on ubuntu 14.04
  • Deployment Method(snap/docker/tar/etc): docker
  • Number of Running Instances: 1 rocketchat, 1 mongo, 1 hubot
  • DB Replicaset Oplog:
  • Node Version: 4.8.4 - x64

Steps to Reproduce:

  1. enter a chat room
  2. drag/select a file with no extension or special extension (something.db for instance)

Expected behavior:

file should upload as is and be downloaded as is with no extensions or special extension

Actual behavior:

capture

Relevant logs:

no relevant logs seen

staticjinno avatar Sep 06 '17 08:09 staticjinno

duplicate of #7074

MartinSchoeler avatar Sep 08 '17 15:09 MartinSchoeler