RocketChat / RocketChat/Rocket.Chat

File Upload .ptk .xjdf does not work

Open
#12,836 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: ui/ux
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

I want to send Files with the .xjdf and .ptk extension, but when I select them, I get the error:
"Media Types not accepted"

*.ptk

Steps to reproduce:
  1. Go to 'Administration'
  2. Click on 'File Upload'
  3. Fill in *.ptk and/or *.xjdf in "Accepted Media Types"
  4. Click on 'Save Changes'
  5. Try to resend a file with one of these extensions
Expected behavior:

After allowed it should be able to send these types

Actual behavior:

bildschirmfoto von 2018-12-04 15-41-12

Server Setup Information:
  • Version of Rocket.Chat Server: 0.68.3
  • Operating System: CentOS 7
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 8.9.3
  • MongoDB Version: 2.6.12

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 problem through Administration > File Upload using *.ptk and *.xjdf, then trace the media-type validation used when sending a file. Done means saving those accepted types succeeds and files with both extensions can be sent without the “Media Types not accepted” error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.