RocketChat / RocketChat/Rocket.Chat

Can't send Apple keynote files through the Upload File feature (still present on 3.6.1) UPDATE: still present on 3.7.1

Open
#19,335 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When trying to upload a apple keynote file (.key), even though in the allowed file section this format is allowed (application/vnd.apple.keynote) The file can't be uploaded

Steps to reproduce:
  1. add the filetype application/vnd.apple.keynote to the allowed media types for upload if not already present
  2. upload an apple keynote file with extension .key on rocketchat
Expected behavior:

the file is uploaded correctly

Actual behavior:

Error message popup: Media type not allowed *.key

Server Setup Information:
  • Version of Rocket.Chat Server: 3.6.1
  • Operating System: Centos 7.8
  • Deployment Method: docker
  • Number of Running Instances: 1
  • MongoDB Version: 4.0
Client Setup Information
  • Desktop App or Browser Version: Desktop app version 3.0.2
  • Operating System: Windows 10
Additional context

This problem has been present since 2.4.0 and not yet resolved. See the referenced issue #16594

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the upload using an Apple Keynote .key file with application/vnd.apple.keynote allowed, then trace the media-type validation path that produces “Media type not allowed *.key.” Done means a permitted .key file uploads successfully without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.