From 184b3effc7e15ede2b3472bffc5f010f1094cefb Mon Sep 17 00:00:00 2001
From: Matthieu Aubry <mattab@users.noreply.github.com>
Date: Thu, 19 Jan 2017 16:47:31 +1300
Subject: [PATCH] Visitor Log, Visitor profile: hide http:// and https:// in
 URLs (#11220)

---
 plugins/Live/templates/_actionsList.twig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/Live/templates/_actionsList.twig b/plugins/Live/templates/_actionsList.twig
index 8d8bc1572a..a36a9da66d 100644
--- a/plugins/Live/templates/_actionsList.twig
+++ b/plugins/Live/templates/_actionsList.twig
@@ -108,7 +108,7 @@
                     {%  else %}
                     <a href="{{ action.url }}" rel="noreferrer" target="_blank" class="{% if action.eventCategory|default(false) is empty %}action-list-url{# don't put URL on new line for events #}{% endif %} truncated-text-line"
                        {% if overrideLinkStyle is not defined or overrideLinkStyle %}style="text-decoration:underline;"{% endif %}>
-                       {{ action.url }}
+                       {{ action.url|replace({'http://': '', 'https://': ''}) }}
                     </a>
                     {%  endif %}
                 {% endif %}
-- 
GitLab