? bug PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
15 Mar 2023

Pull Request for Issue #40125

Summary of Changes

Removes any spaces from the disable_functions string in the php.ini before exploding into an array for checking

Testing Instructions

in your php.ini file add the following line and restart apache

disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
then go to the joomla system dashboard and open the System Information

Actual result BEFORE applying this Pull Request

image

Expected result AFTER applying this Pull Request

image

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 15 Mar 2023
Category Administration com_admin
avatar brianteeman brianteeman - open - 15 Mar 2023
avatar brianteeman brianteeman - change - 15 Mar 2023
Status New Pending
avatar richard67
richard67 - comment - 15 Mar 2023

in your php.ini file add the following line and restart apache

@brianteeman Which line?

avatar brianteeman brianteeman - change - 15 Mar 2023
The description was changed
avatar brianteeman brianteeman - edited - 15 Mar 2023
avatar brianteeman
brianteeman - comment - 15 Mar 2023

in your php.ini file add the following line and restart apache

@brianteeman Which line?

oops - updated the instructions

avatar brianteeman brianteeman - change - 16 Mar 2023
Labels Added: PR-4.3-dev
avatar toivo toivo - test_item - 16 Mar 2023 - Tested unsuccessfully
avatar toivo
toivo - comment - 16 Mar 2023

I have tested this item ? unsuccessfully on bfd54c6

```
Warning: Undefined variable $disabled in C:\www\joomla43\administrator\components\com_admin\src\Model\SysinfoModel.php on line 341
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in C:\www\joomla43\administrator\components\com_admin\src\Model\SysinfoModel.php on line 341


Line 341 should be
    return !\in_array('phpinfo', explode(',', $disabledFunctions));
<hr /><sub>This comment was created with the <a href="https://github.com/joomla/jissues">J!Tracker Application</a> at <a href="https://issues.joomla.org/tracker/joomla-cms/40130">issues.joomla.org/tracker/joomla-cms/40130</a>.</sub>
avatar toivo toivo - test_item - 18 Mar 2023 - Tested successfully
avatar toivo
toivo - comment - 18 Mar 2023

I have tested this item successfully on ceaf637

Tested successfully in Joomla 4.3.0-beta5-dev of 18 March,


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40130.

avatar joomdonation joomdonation - test_item - 18 Mar 2023 - Tested successfully
avatar joomdonation
joomdonation - comment - 18 Mar 2023

I have tested this item successfully on ceaf637


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40130.

avatar joomdonation joomdonation - change - 18 Mar 2023
Status Pending Ready to Commit
avatar joomdonation
joomdonation - comment - 18 Mar 2023

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40130.

avatar obuisard obuisard - change - 4 May 2023
Labels Added: ? bug
avatar obuisard obuisard - change - 4 May 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-05-04 19:48:22
Closed_By obuisard
avatar obuisard obuisard - close - 4 May 2023
avatar obuisard obuisard - merge - 4 May 2023
avatar obuisard
obuisard - comment - 4 May 2023

Thank you Brian @brianteeman for the PR!

avatar brianteeman
brianteeman - comment - 4 May 2023

thx

Add a Comment

Login with GitHub to post a comment