-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't upload M4V files when "*video*" mimetype is added #368
Comments
Try |
Hmm the placeholder is not updating correctly, for the regex we also need the slashes, so this should work: |
|
Do the same for audio and zip? |
audio files, mp4 and zip files can all be uploaded successfully. |
m4v maps to Can you make a final screenshot of your settings? |
yes, i checked the mimetype. it should work. but it does not. mp4 files can be uploaded, but not m4v files. |
Steps to reproduce
1.configure file access control flow in administrator page, and add operation block access if " file MIMETYPE does not match '*video*'"
![image](https://private-user-images.githubusercontent.com/9249061/240472762-4eae2d91-ca4c-4508-a87c-48b80974c323.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDg4MDgsIm5iZiI6MTczOTMwODUwOCwicGF0aCI6Ii85MjQ5MDYxLzI0MDQ3Mjc2Mi00ZWFlMmQ5MS1jYTRjLTQ1MDgtYTg3Yy00OGI4MDk3NGMzMjMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMjExNTA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTVjZWJlNjZjZTBhYzNkMTZlYWY1MmNlMTg4MjU1Y2I4YTQxYTNmZmQ0NWJjODA1NzkyNTRiZWJiMjMxNDIxOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.hR5ySWRslK7_Lc1e6h1OlWYMvDsbh5oenOUp_I7vTbE)
![image](https://private-user-images.githubusercontent.com/9249061/240474233-ec5ef8d4-26fd-4488-a5ce-380406da8b06.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMDg4MDgsIm5iZiI6MTczOTMwODUwOCwicGF0aCI6Ii85MjQ5MDYxLzI0MDQ3NDIzMy1lYzVlZjhkNC0yNmZkLTQ0ODgtYTVjZS0zODA0MDZkYThiMDYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMjExNTA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTg3NzVlYjA2NDA3YzYyYjVmYjBmNjM1MTBlOWQ4Nzg5MWM0YjI5Y2NjMmRiNTUxN2U4YTM1MDgxZDAwNGViYSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.EFTuB8uUm8Yy5rj7-qdllOZYlWxQlRQqNvnEmGlSdEw)
2.upload demo.m4v file
Expected behaviour
The upload should success
Actual behaviour
The upload failed with 403 "Access denied"
Notes:
The text was updated successfully, but these errors were encountered: