Secure your assets and data from unwanted download. Apply TYPO3 access rights to ALL file assets (PDFs, TGZs or JPGs etc. - configurable) - protect them from direct access.
Describe the bug
Syntax error, unexpected '|', expecting ';' or '{'
in /var/www/html/web/typo3conf/ext/secure_downloads/Classes/Resource/FileDelivery.php line 258
To Reproduce
Install v5.0.5 with PHP 7.4, open backend or frontend.
Expected behavior
No syntax error in PHP 7.4
Environment (please complete the following information):
Describe the bug Syntax error, unexpected '|', expecting ';' or '{' in /var/www/html/web/typo3conf/ext/secure_downloads/Classes/Resource/FileDelivery.php line 258
To Reproduce Install v5.0.5 with PHP 7.4, open backend or frontend.
Expected behavior No syntax error in PHP 7.4
Environment (please complete the following information):
Additional context v5.0.4 still works on PHP 7.4