diff --git a/includes/EmailFormatter.php b/includes/EmailFormatter.php index 8fdb07096..45b6a4320 100644 --- a/includes/EmailFormatter.php +++ b/includes/EmailFormatter.php @@ -192,8 +192,7 @@ abstract class EchoEmailMode { $iconUrl = "$wgExtensionAssetsPath/$path"; } - // Use http for image path, there is no need for https - return wfExpandUrl( $iconUrl, PROTO_HTTP ); + return wfExpandUrl( $iconUrl, PROTO_CANONICAL ); } /**