You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code part (lines 114-126) should simply be removed, because otherwise the use of the event in line 111 makes no sense and has no use. The event is very good for manipulating the file to be delivered, which is very handy if I want to deliver a different version of the original file, for example. But if I manipulate $file in an event listener of AfterFileRetrievedEvent, the new/modified $file will not be reflected/used in the returned response/stream!
So please remove the code if that makes sense to you.
Thank you very much for your good work and support!
The text was updated successfully, but these errors were encountered:
In my opinion, the code (line 114-126) in the FileDelivery class should be removed to get the intended functionality!
typo3-secure-downloads/Classes/Resource/FileDelivery.php
Line 114 in 7ef9d9b
The code part (lines 114-126) should simply be removed, because otherwise the use of the event in line 111 makes no sense and has no use. The event is very good for manipulating the file to be delivered, which is very handy if I want to deliver a different version of the original file, for example. But if I manipulate $file in an event listener of AfterFileRetrievedEvent, the new/modified $file will not be reflected/used in the returned response/stream!
So please remove the code if that makes sense to you.
Thank you very much for your good work and support!
The text was updated successfully, but these errors were encountered: