Skip to content

Conversation

@nickvergessen
Copy link
Member

Steps

  1. Add an access rule which only allows folders and documents by mimetype
  2. Upload a 0 byte file with test.docx as name
  3. Afterwards refresh the folder
  4. File is blocked, debugger says mimetype is application/octet-stream

@nickvergessen nickvergessen added this to the Nextcloud 23 milestone Oct 27, 2021
@nickvergessen nickvergessen requested review from a team, ArtificialOwl, blizzz and icewind1991 and removed request for a team October 27, 2021 08:49
@blizzz blizzz merged commit 1666bb0 into master Oct 27, 2021
@blizzz blizzz deleted the bugfix/noid/detect-mimetype-by-content-only-with-content branch October 27, 2021 12:26
@blizzz
Copy link
Member

blizzz commented Oct 27, 2021

backports required?

@nickvergessen
Copy link
Member Author

/backport to stable22

@nickvergessen
Copy link
Member Author

/backport to stable21

@nickvergessen
Copy link
Member Author

/backport to stable20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants