nextcloud / nextcloud/files_accesscontrol
Can't upload M4V files when "*video*" mimetype is added
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 60
- Forks
- 22
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 34
Description
Steps to reproduce
1.configure file access control flow in administrator page, and add operation block access if " file MIMETYPE does not match '*video*'"
2.upload demo.m4v file
Expected behaviour
The upload should success
Actual behaviour
The upload failed with 403 "Access denied"
Notes:
- mp4 files can be uploaded and after removing the access control workflow, upload m4v file succeeded.
- Nextcloud and all apps are updated to latest version.
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
Start by reproducing the administrator access-control workflow with a MIME type rule matching "video", then trace the app's MIME matching and upload access-denial handling. Done means .m4v files are accepted by the video rule while files outside the rule remain blocked.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authorization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100