J3.x

Update $explodedName with reversed array: Difference between revisions

From Joomla! Documentation

Wilsonge (talk | contribs)
Updated issue to show as fixed in 3.4.4
MATsxm (talk | contribs)
No edit summary
 
Line 1: Line 1:
<noinclude><languages /></noinclude>
<noinclude><languages /></noinclude>
<noinclude>{{Joomla version|version=3.4.4}}</noinclude>
<noinclude>{{Joomla version|version=3.4.3}}</noinclude>


<translate>
<translate>

Latest revision as of 19:05, 11 September 2015

Joomla! 
3.4.3

Line 441 to 444 of libraries/joomla/filter/JInputFilter.php extracts possible extensions in the file name to check against a list of invalid extensions.

Errors reported

https://github.com/joomla/joomla-cms/issues/7813
https://github.com/joomla/joomla-cms/pull/7814#issuecomment-138881425

Versions affected

General Information

This pertains only to Joomla! version(s): 3.4.0 to 3.4.3

What is the cause

array_reverse returns the reversed array, it does not change the original array.

How to fix

Apply the patch https://github.com/joomla/joomla-cms/pull/7814#issuecomment-138881425
use the raw parameter to suppress the safe file check.
This was fixed in Joomla 3.4.4