Index: trunk/phase3/includes/media/Bitmap.php |
— | — | @@ -158,7 +158,8 @@ |
159 | 159 | // a pixel. |
160 | 160 | " -thumbnail " . wfEscapeShellArg( "{$physicalWidth}x{$physicalHeight}!" ) . |
161 | 161 | // Add the source url as a comment to the thumb. A % is an |
162 | | - // escape character in ImageMagick, so needs escaping |
| 162 | + // escape character in ImageMagick, so needs escaping (bug 23148) |
| 163 | + // http://www.imagemagick.org/script/escape.php?ImageMagick=i766ho1om315scce8eh75efjc6 |
163 | 164 | " -set comment " . wfEscapeShellArg( str_replace( '%', '%%', $descriptionUrl ) ) . |
164 | 165 | " -depth 8 $sharpen " . |
165 | 166 | wfEscapeShellArg( $dstPath ) . " 2>&1"; |