Commits

Thomas Waldmann committed 16cf4b6

avatar img: use rel="noreferrer" to avoid privacy issues (if the browser supports it)

Comments (0)

Files changed (1)

MoinMoin/templates/layout.html

     <div id="moin-username">
         {% if user.valid -%}
 	    {% set avatar = user.avatar(20) %}
-	    {% if avatar %}
-	        <img id="moin-avatar" src="{{ avatar }}" />
-	    {%- endif %}
+            {% if avatar %}
+                <img id="moin-avatar" rel="noreferrer" src="{{ avatar }}" />
+            {%- endif %}
             {% if user.name -%}
                 {% set wiki_href, aliasname, title, exists = theme_supp.userhome() %}
                 <a href="{{ wiki_href }}" {% if not exists %}class="moin-nonexistent"{% endif %} rel="nofollow" title="{{ title }}">