Projet

Général

Profil

0001-franceconnect-use-rel-noopener-for-links-opening-in-.patch

Frédéric Péters, 19 juin 2019 15:01

Télécharger (1,87 ko)

Voir les différences:

Subject: [PATCH] franceconnect: use rel=noopener for links opening in new tabs
 (#34038)

 .../templates/authentic2_auth_fc/explanation.html               | 2 +-
 .../templates/authentic2_auth_fc/linking.html                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
src/authentic2_auth_fc/templates/authentic2_auth_fc/explanation.html
2 2
{% block fc-explanation %}
3 3
<div id="fc-explanation-text">
4 4
    <p>
5
	    <a href="{{ about_url }}" target="_blank">{% trans "What is FranceConnect?" %}</a>
5
        <a href="{{ about_url }}" target="_blank" rel="noopener">{% trans "What is FranceConnect?" %}</a>
6 6
    </p>
7 7
    <p>{% blocktrans %}
8 8
    FranceConnect is the solution proposed by the French state to streamline
src/authentic2_auth_fc/templates/authentic2_auth_fc/linking.html
24 24
      {% endif %}
25 25
    </div>
26 26
  </div>
27
  <p><a href="{{ about_url }}" target="_blank">{% trans "What is FranceConnect?" %}</a></p>
27
  <p><a href="{{ about_url }}" target="_blank" rel="noopener">{% trans "What is FranceConnect?" %}</a></p>
28 28
</div>
29 29
{% if popup %}<script src="{% static 'authentic2_auth_fc/js/fc.js' %}" type="text/javascript"></script>{% endif %}
30
-