Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sousa9g opened this issue Jan 22, 2024 · 0 comments

Comments

@sousa9g
Copy link
Contributor

sousa9g commented Jan 22, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant