mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-28 19:07:37 +03:00
This allows download of attachments that are larger than current memory limits, since we're not loading the entire file into memory any more. For inline file responses, we take a 1kb portion of the file to sniff before to check mime before we proceed.