J3.x

Update $explodedName with reversed array: Difference between revisions

From Joomla! Documentation

MATsxm (talk | contribs)
No edit summary
Wilsonge (talk | contribs)
Updated issue to show as fixed in 3.4.4
Line 18: Line 18:
{{tip|<translate>
{{tip|<translate>
<!--T:4-->
<!--T:4-->
This pertains only to Joomla! version(s): '''3.4.0 to 3.4.4'''</translate>|title=<translate><!--T:5-->
This pertains only to Joomla! version(s): '''3.4.0 to 3.4.3'''</translate>|title=<translate><!--T:5-->
General Information</translate>}}
General Information</translate>}}


Line 34: Line 34:
Apply the patch https://github.com/joomla/joomla-cms/pull/7814#issuecomment-138881425<br />
Apply the patch https://github.com/joomla/joomla-cms/pull/7814#issuecomment-138881425<br />
use the raw parameter to suppress the safe file check.<br />
use the raw parameter to suppress the safe file check.<br />
This will be included in Joomla 3.4.5</translate>
This was fixed in Joomla 3.4.4</translate>


__NOTOC__
__NOTOC__
Line 44: Line 44:
[[Category:Version 3.4.2 FAQ]]
[[Category:Version 3.4.2 FAQ]]
[[Category:Version 3.4.3 FAQ]]
[[Category:Version 3.4.3 FAQ]]
[[Category:Version 3.4.4 FAQ]]
</translate>
</translate>
</noinclude>
</noinclude>

Revision as of 18:49, 11 September 2015

Joomla! 
3.4.4

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