J3.x

Update $explodedName with reversed array/nl: Difference between revisions

From Joomla! Documentation

Created page with "Update $explodedName with reversed array"
 
FuzzyBot (talk | contribs)
Updating to match new version of source page
 
(13 intermediate revisions by 2 users not shown)
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>


Line 441 to 444 of <tt>libraries/joomla/filter/JInputFilter.php</tt> extracts possible extensions in the file name to check against a list of invalid extensions.
Regel 441 tot 444 van <tt>libraries/joomla/filter/JInputFilter.php</tt> haalt mogelijke extensies uit de bestandsnaam om te controleren aan de hand van een lijst met ongeldige extensies.


==Errors reported==
==Gerapporteerde fouten==
https://github.com/joomla/joomla-cms/issues/7813<br />
https://github.com/joomla/joomla-cms/issues/7813<br />
https://github.com/joomla/joomla-cms/pull/7814#issuecomment-138881425
https://github.com/joomla/joomla-cms/pull/7814#issuecomment-138881425


==Versions affected== <!--refers to and other information below -->
==Getroffen versies== <!--refers to and other information below -->
{{tip|This pertains only to Joomla! version(s): '''3.4.0 to 3.4.4'''|title=General Information}}
{{tip|This pertains only to Joomla! version(s): '''3.4.0 to 3.4.3'''|title=Algemene informatie}}


==What is the cause==
==Wat is de oorzaak==
array_reverse returns the reversed array, it does not change the original array.
array_reverse geeft de omgekeerde array terug, het verandert de originele array niet.


==How to fix==  
==Hoe oplossen==  
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
This was fixed in Joomla 3.4.4


__NOTOC__
__NOTOC__
Line 25: Line 25:
[[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]]
</noinclude>
</noinclude>

Latest revision as of 19:10, 11 September 2015

Joomla! 
3.4.3

Regel 441 tot 444 van libraries/joomla/filter/JInputFilter.php haalt mogelijke extensies uit de bestandsnaam om te controleren aan de hand van een lijst met ongeldige extensies.

Gerapporteerde fouten

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

Getroffen versies

Algemene informatie

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

Wat is de oorzaak

array_reverse geeft de omgekeerde array terug, het verandert de originele array niet.

Hoe oplossen

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