mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-24 02:39:33 +00:00
Merge "Use PROTO_CANONICAL for icon links in emails"
This commit is contained in:
commit
71075b9262
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue