?
avatar okonomiyaki3000
okonomiyaki3000
20 May 2019

Steps to reproduce the issue

Move your files folder outside of your joomla root and put a symlink to it in its place. A totally normal thing you might want to do.

Expected result

Since this is a totally normal thing and it has always worked until now, you'd expect it to work exactly the same as if your actual files folder was there. In other words, no different from a completely standard installation.

Actual result

You will not be able to navigate past the base files folder (COM_MEDIA_BASE) because of this great little addition on line 116 of the media manager's list model:

// Reset base path
if (strpos(realpath($basePath), JPath::clean(COM_MEDIA_BASE)) !== 0)
{
	$basePath = COM_MEDIA_BASE;
}

System information (as much as possible)

Some kind of linux.

Additional comments

Change it back.

avatar okonomiyaki3000 okonomiyaki3000 - open - 20 May 2019
avatar joomla-cms-bot joomla-cms-bot - change - 20 May 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 May 2019
avatar okonomiyaki3000 okonomiyaki3000 - change - 20 May 2019
The description was changed
avatar okonomiyaki3000 okonomiyaki3000 - edited - 20 May 2019
avatar SniperSister SniperSister - change - 20 May 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-05-20 09:35:34
Closed_By SniperSister
avatar SniperSister SniperSister - close - 20 May 2019
avatar SniperSister
SniperSister - comment - 20 May 2019

Duplicate of #24539, closing

Add a Comment

Login with GitHub to post a comment