changeset 1878:a890875ae2b3

remove img rel="noreferrer", it is not valid html5
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 22 Dec 2012 00:24:05 +0100
parents 2f29420ea787
children b7241c73c394
files MoinMoin/templates/layout.html MoinMoin/themes/foobar/templates/layout.html docs/admin/configure.rst
diffstat 3 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/templates/layout.html	Sat Dec 22 00:00:33 2012 +0100
+++ b/MoinMoin/templates/layout.html	Sat Dec 22 00:24:05 2012 +0100
@@ -39,7 +39,7 @@
         {% 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() %}
--- a/MoinMoin/themes/foobar/templates/layout.html	Sat Dec 22 00:00:33 2012 +0100
+++ b/MoinMoin/themes/foobar/templates/layout.html	Sat Dec 22 00:24:05 2012 +0100
@@ -65,7 +65,7 @@
         {% 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() %}
--- a/docs/admin/configure.rst	Sat Dec 22 00:00:33 2012 +0100
+++ b/docs/admin/configure.rst	Sat Dec 22 00:24:05 2012 +0100
@@ -253,10 +253,9 @@
 
 * 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
 ----------------