J3.x

Update $explodedName with reversed array

From Joomla! Documentation

Other languages:
English • ‎Nederlands • ‎español • ‎français • ‎italiano
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[edit]

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

Versions affected[edit]

General Information

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

What is the cause[edit]

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

How to fix[edit]

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