From: Platonides Date: Sun, 11 Apr 2010 20:47:41 +0000 (+0000) Subject: Follow up r64936. Even better, provide the bug number and imagemagick doc page. X-Git-Tag: 1.31.0-rc.0~37138 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=b378be4dd64744cbaff7fcf2c7a5188095b294cf;p=lhc%2Fweb%2Fwiklou.git Follow up r64936. Even better, provide the bug number and imagemagick doc page. --- diff --git a/includes/media/Bitmap.php b/includes/media/Bitmap.php index 1f390bbcce..aada9c5b99 100644 --- a/includes/media/Bitmap.php +++ b/includes/media/Bitmap.php @@ -158,7 +158,8 @@ class BitmapHandler extends ImageHandler { // a pixel. " -thumbnail " . wfEscapeShellArg( "{$physicalWidth}x{$physicalHeight}!" ) . // Add the source url as a comment to the thumb. A % is an - // escape character in ImageMagick, so needs escaping + // escape character in ImageMagick, so needs escaping (bug 23148) + // http://www.imagemagick.org/script/escape.php?ImageMagick=i766ho1om315scce8eh75efjc6 " -set comment " . wfEscapeShellArg( str_replace( '%', '%%', $descriptionUrl ) ) . " -depth 8 $sharpen " . wfEscapeShellArg( $dstPath ) . " 2>&1";