[TYPO3-dam-devel] RFC #14009: Feature: Enable secure downloads for DAM files

Lorenz Ulrich lorenz-typo3 at visol.ch
Thu Feb 24 14:21:20 CET 2011


Hi François

 > I can explain this better with my use case: I have a client who wants to
 > redirect to some special page when a file cannot be downloaded. So in
 > this case, TYPO3's 404 redirect would not do. While thinking about this
 > patch I decided that there could be so many use cases for this error
 > handling, that it wasn't worth introducing tons of TS parameters, but
 > rather have some standard, reasonable mechanism and provide a hook for
 > those who have a special need.

Ah, thanks for this info. In this case, most people will see the 
standard error. So shouldn't it be localized?

Best regards,

Lorenz


Am 24.02.2011 14:10, schrieb François Suter:
> Hi,
>
>> Just being curious: Under what circumstances would it happen that these
>> hooks aren't available ("In the absence of hooks, just print a standard
>> error message and exit the process")?
>
> I mean that my checkDataSubmission hook itself provides a hooks for
> creating a custom error message. If no classes are registered for that
> hook, the standard error message is displayed.
>

>
> Cheers
>



More information about the TYPO3-team-dam mailing list