Enter an invalid path for the directory in the gallery field
That Joomla will report the path is not a folder, without giving away my full absolute path - which is a security issue (of sorts)
JFolder: :files: Path is not a folder. Path: **/Users/phil/Sites/remotebfb**/images/One
where /Users/phil/Sites/remotebfb is my absolute path to Joomla.
Also with error reporting on development I also get:
Warning: Invalid argument supplied for foreach() in /Users/phil/Sites/remotebfb/plugins/fields/gallery/tmpl/gallery.php on line 50
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-02-23 18:53:48 |
Closed_By | ⇒ | zero-24 |
feel free to PR a change here: https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/filesystem/folder.php#L507 but this is a general "[SECURITY]" Problem of JFolder and not the Gallery. The gallery is just using that method.