Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C CMS
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • CI
  • CMS
  • Repository
Switch branch/tag
  • cms
  • typo3
  • sysext
  • impexp
  • Classes
  • ImportExport.php
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [TASK] Simplify checks on Import about allowed filenames · a9b64f12
    Benni Mack authored Dec 13, 2019 and Susanne Moog's avatar Susanne Moog committed Dec 20, 2019
    In TYPO3 v10, BasicFileUtility is not used by DataHandler anymore,
    and never initialized with other file permissions than "allow
    any file ending", which is why the simple check on the fileDenyPattern
    can be used directly in Import functionality.
    
    The next patch would then allow to clean up BasicFileUtility
    where the methods which belong to "internal_type=file" are not in use
    anymore.
    
    Resolves: #89941
    Releases: master
    Change-Id: I58a28a1cd1f6d284d241479a324c877a2824e7bb
    Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62627
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    Tested-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
    Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
    Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
    Reviewed-by: Susanne Moog's avatarSusanne Moog <look@susi.dev>
    a9b64f12