Leuchtfeuer / typo3-secure-downloads

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.
https://www.Leuchtfeuer.com
GNU General Public License v2.0
21 stars 34 forks source link

The parameter checkDirs has no documentation #183

Closed npoggenburg closed 1 year ago

npoggenburg commented 1 year ago

Describe the bug

The parameter checkDirs has no documentation. Compare documentation with LocalConfiguration.php Configuration. Is this parameter obsolete or documentation missing?

https://docs.typo3.org/p/leuchtfeuer/secure-downloads/main/en-us/Admin/ExtensionConfiguration/Index.html

    'secure_downloads' => [
        'allowPublicAccess' => '1',
        'cachetimeadd' => '3600',
        'checkAccess' => '0',
        'checkDirs' => '0',
        'createFileStorage' => '1',
        'documentRootPath' => '/',
        'enableGroupCheck' => '0',
        'excludeGroups' => '-1,0',
        'forcedownload' => '0',
        'forcedownloadtype' => 'odt|pptx?|docx?|xlsx?|zip|rar|tgz|tar|gz',
        'groupCheckDirs' => '',
        'linkPrefix' => 'securedl',
        'log' => '0',
        'outputFunction' => 'stream',
        'protectedPath' => '',
        'securedDirs' => 'none',
        'securedFiletypes' => 'pdf|jpe?g|gif|png|odt|pptx?|docx?|xlsx?|zip|rar|tgz|tar|gz',
        'skipCheckConfiguration' => '0',
        'strictGroupCheck' => '0',
        'tokenPrefix' => 'sdl-',
    ],

Environment (please complete the following information):

balasch commented 1 year ago

Fixed in https://github.com/Leuchtfeuer/typo3-secure-downloads/releases/tag/v5.0.3