xperseguers / t3ext-fal-protect

This extension protects everything within fileadmin/ based on associated file restrictions.
https://extensions.typo3.org/extension/fal_protect
GNU General Public License v2.0
11 stars 7 forks source link

Cleaning the output buffer #29

Closed YolfTypo3 closed 2 years ago

YolfTypo3 commented 3 years ago

Hi Xavier,

Thanks for your awesome extension.

Images in fileadmin were not displayed correctly on my TYPO3 V10.4.16 server. It seems that some outputs happened before your extension send headers.

I have created a new small exension which adds a middleware before yours. It just calls ob_clean() when ob_get_level() > 0.

May be this feature could be added in an option of your extension.

Best regards

Laurent

xperseguers commented 2 years ago

Please test #35 as it could fix this problem.

YolfTypo3 commented 2 years ago

Hi Xavier, I tested #35. It solves this issue. Thanks to @lochmueller and to you for this great extension. Best regards Laurent