Skip to content

Joomla\Filesystem\Path::clean() failed to check for non-empty path as expected #62

@sousa9g

Description

@sousa9g

Steps to reproduce the issue

Uses Joomla\Filesystem\Path::clean() to check for an empty path

Expected result

It should throw \InvalidArgumentException

Actual result

No thrown exception

System information (as much as possible)

We discovered this issue with Joomla 5 when it uses Joomla\Filesystem\Path instead of the old one Joomla\CMS\Filesystem\Path (which worked well)

Additional comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions