dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fccd58d
)
Remove unnecessary slash in scalerThumbUrl
author
Gilles Dubuc
<gilles@wikimedia.org>
Tue, 9 Apr 2019 16:57:38 +0000
(18:57 +0200)
committer
Gilles Dubuc
<gilles@wikimedia.org>
Tue, 9 Apr 2019 16:57:38 +0000
(18:57 +0200)
The thumb proxy URL already contains a trailing slash
Bug: T220265
Change-Id: I9176ac893250f857c04df5a6878278784cf785f6
includes/specials/SpecialUploadStash.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialUploadStash.php
b/includes/specials/SpecialUploadStash.php
index
c27069e
..
24d58c8
100644
(file)
--- 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 );
}