Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • T TYPO3.CMS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • accessibility
  • TYPO3.CMS
  • Repository
Switch branch/tag
  • TYPO3.CMS
  • ..
  • FormDataProvider
  • AbstractItemProvider.php
Find file BlameHistoryPermalink
  • Anja Leichsenring's avatar
    [BUGFIX] Add check for valid directory name for TCA select fileFolder · 32e7a14b
    Anja Leichsenring authored Nov 17, 2016 and Jan Helke's avatar Jan Helke committed Nov 18, 2016
    If an invalid extension name is passed to a 'EXT:...' path, the
    GeneralUtility::getFileAbsFileName function returns an empty string.
    This results in a scan of '\' in the first place, and the resulting
    error is not helpful for finding the source of the missing icons
    in the TCA select box.
    A check for a valid directory name and an exception in case of
    failure will help the situation.
    
    Resolves: #78737
    Releases: master, 7.6
    Change-Id: I9d5159eac9b511e879144789eecb40eafcc0288c
    Reviewed-on: https://review.typo3.org/50699
    
    Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
    Tested-by: default avatarTYPO3com <no-reply@typo3.com>
    Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
    Reviewed-by: Jan Helke's avatarJan Helke <typo3@helke.de>
    Tested-by: Jan Helke's avatarJan Helke <typo3@helke.de>
    32e7a14b