No Code Attached Yet
avatar sousa9g
sousa9g
31 Jan 2024

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

As this is an issue with Joomla 5 (and Joomla Framework actually), I am not really sure where to submit this bug report, so I submitted in both joomla-cms and joomla-framework.

joomla-framework/filesystem#63

avatar sousa9g sousa9g - open - 31 Jan 2024
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jan 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 31 Jan 2024
avatar Quy Quy - close - 31 Jan 2024
avatar Quy
Quy - comment - 31 Jan 2024

This has to be fixed upstream so closing here. Thanks for the report.

avatar Quy Quy - change - 31 Jan 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-01-31 23:53:18
Closed_By Quy

Add a Comment

Login with GitHub to post a comment