RocketChat / RocketChat/Rocket.Chat
File Upload .ptk .xjdf does not work
Open
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:
- Go to 'Administration'
- Click on 'File Upload'
- Fill in *.ptk and/or *.xjdf in "Accepted Media Types"
- Click on 'Save Changes'
- Try to resend a file with one of these extensions
Expected behavior:
After allowed it should be able to send these types
Actual behavior:

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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