Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlain Rihs <alainrihs@sunrise.ch>2019-07-17 02:13:32 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2019-07-17 02:13:32 +0300
commitf856128c5a4969429ed2ba035d48bb451b2e0340 (patch)
tree48bab95c991e2b53cba83803f09a3fbca02cd5fd /plugins/CoreUpdater
parente3bd2c69dd891d4cb9713ab337e2b7197aa72901 (diff)
Update _updateCommunicationEmail.twig (#14037)
* Update _updateCommunicationEmail.twig Links in the (new?) notification email are no longer clickable. * Escape the host * Only show safelink
Diffstat (limited to 'plugins/CoreUpdater')
-rw-r--r--plugins/CoreUpdater/templates/_updateCommunicationEmail.twig6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CoreUpdater/templates/_updateCommunicationEmail.twig b/plugins/CoreUpdater/templates/_updateCommunicationEmail.twig
index b388fe7d20..cf041e0d36 100644
--- a/plugins/CoreUpdater/templates/_updateCommunicationEmail.twig
+++ b/plugins/CoreUpdater/templates/_updateCommunicationEmail.twig
@@ -3,16 +3,16 @@
<p>{{ 'CoreUpdater_ThereIsNewVersionAvailableForUpdate'|translate }}</p>
<p>{{ 'CoreUpdater_YouCanUpgradeAutomaticallyOrDownloadPackage'|translate(latestVersion) }}<br/>
-{{ host }}index.php?module=CoreUpdater&action=newVersionAvailable
+<a href="{{ host|e('html_attr') }}index.php?module=CoreUpdater&action=newVersionAvailable">{{ host }}index.php?module=CoreUpdater&action=newVersionAvailable</a>
</p>
{% if isStableVersion %}
<p>
{{ 'CoreUpdater_ViewVersionChangelog'|translate }}
<br/>
- {{ linkToChangeLog }}
+ <a href="{{ linkToChangeLog|safelink|e('html_attr') }}">{{ linkToChangeLog }}</a>
</p>
{% endif %}
<p>{{ 'CoreUpdater_ReceiveEmailBecauseIsSuperUser'|translate(host) }}</p>
-<p>{{ 'CoreUpdater_FeedbackRequest'|translate }}<br/>https://matomo.org/contact/</p>
+<p>{{ 'CoreUpdater_FeedbackRequest'|translate }}<br/><a href="https://matomo.org/contact/">https://matomo.org/contact/</a></p>