1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-12-16 10:02:22 +03:00
Files
bookstack/app/Http/Controllers/Controller.php
Dan Brown 2a99e23e6d Updated attachment download to check OB before cleaning it
Call to `ob_end_clean` would error if the environment did not use the
PHP `output_buffering` option. This adds an additional check and updates
the comment to be more specific to the exact scenario of the condition.
Tested with output_buffering=Off and output_buffering=4096

Closes #3415
2022-05-09 15:25:06 +01:00

6.9 KiB