From 6ed0de046ec6b09a14953e34c8c497f956a6377e Mon Sep 17 00:00:00 2001 From: Gilles Dubuc Date: Tue, 9 Apr 2019 18:57:38 +0200 Subject: [PATCH] Remove unnecessary slash in scalerThumbUrl The thumb proxy URL already contains a trailing slash Bug: T220265 Change-Id: I9176ac893250f857c04df5a6878278784cf785f6 --- includes/specials/SpecialUploadStash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialUploadStash.php b/includes/specials/SpecialUploadStash.php index c27069e006..24d58c834b 100644 --- a/includes/specials/SpecialUploadStash.php +++ b/includes/specials/SpecialUploadStash.php @@ -266,7 +266,7 @@ class SpecialUploadStash extends UnlistedSpecialPage { $thumbProxyUrl = $file->getRepo()->getThumbProxyUrl(); if ( strlen( $thumbProxyUrl ) ) { - $scalerThumbUrl = $thumbProxyUrl . '/temp/' . $file->getUrlRel() . + $scalerThumbUrl = $thumbProxyUrl . 'temp/' . $file->getUrlRel() . '/' . rawurlencode( $scalerThumbName ); } -- 2.20.1