Index: trunk/phase3/includes/specials/SpecialUploadStash.php |
— | — | @@ -214,7 +214,7 @@ |
215 | 215 | // this is apparently a protocol-relative URL, which makes no sense in this context, |
216 | 216 | // since this is used for communication that's internal to the application. |
217 | 217 | // default to http. |
218 | | - $scalerBaseUrl = 'http:' . $scalerBaseUrl; |
| 218 | + $scalerBaseUrl = wfExpandUrl( $scalerBaseUrl, PROTO_CANONICAL ); |
219 | 219 | } |
220 | 220 | |
221 | 221 | // We need to use generateThumbName() instead of thumbName(), because |