J3.x:Update $explodedName with reversed array

From Joomla! Documentation

Revision as of 14:10, 11 September 2015 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Other languages:
English • ‎Nederlands • ‎español • ‎français • ‎italiano

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


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