Page MenuHomePhabricator

Warning: escapeshellarg() has been disabled
Closed, InvalidPublic

Description

Author: koulf

Description:
Good afternoon, I have a problem with uploading files to my Wiki

Warning: escapeshellarg() has been disabled for security reasons in /home/sergniki/public_html/doktorkto.ru/wiki/includes/GlobalFunctions.php on line 1473

In some way It's connected with impossibility of image thumbnailing and this circumstance causes a lot of troubles.

In this particular file and in this particular line I found code
$retVal .= escapeshellarg( $arg );

How can I finish with it? What is the reason of warning?
Can you help me to fix it?


Version: 1.16.x
Severity: major
OS: Linux
URL: http://doktorkto.ru/wiki/Файл:River's_diary.jpg

Details

Reference
bz26933

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:23 PM
bzimport set Reference to bz26933.
bzimport added a subscriber: Unknown Object (MLST).

Bryan.TongMinh wrote:

You can't use image thumbnailing with Imagemagick on a crippled host.

If your host has GD installed, you can use that by setting $wgUseImagemagick to false.

koulf wrote:

Thank you very much. It solved my problem!

Gilles raised the priority of this task from High to Unbreak Now!.Dec 4 2014, 10:21 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to High.Dec 4 2014, 11:21 AM