Commits

Thomas Waldmann committed a890875

remove img rel="noreferrer", it is not valid html5

Comments (0)

Files changed (3)

MoinMoin/templates/layout.html

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

MoinMoin/themes/foobar/templates/layout.html

         {% if user.valid -%}
 	    {% set avatar = user.avatar(20) %}
             {% if avatar %}
-                <li><img id="moin-avatar" rel="noreferrer" src="{{ avatar }}" /></li>
+                <li><img id="moin-avatar" src="{{ avatar }}" /></li>
             {%- endif %}
             {% if user.name -%}
                 {% set wiki_href, aliasname, title, exists = theme_supp.userhome() %}

docs/admin/configure.rst

 
 * to register your image for your email at gravatar.com, you need to give them
   your email address, which is the same as you use in your wiki user profile.
-* we try to avoid exposing the referrer URL to gravatar.com, but this only
-  works if your browser correctly implements rel="noreferrer". If it does not,
-  your wiki item URLs will be exposed, so they will roughly know which people
-  read or work on which wiki items.
+* when the wiki displays an avatar image on some item / view, the URL will be
+  exposed as referrer to the avatar service provider, so they will roughly
+  know which people read or work on which wiki items / views.
 
 XStatic Packages
 ----------------