Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Gravatar plugin XHTML compatible
cdavid
New
I couldn't find the Gravatar plugin listed in the Addons section of the website, so I'll just post this here.
The plugin is not XHTML compliant.
Patch:
(transform & into &)
The plugin is not XHTML compliant.
Patch:
@@ -74,8 +74,8 @@
if ($User->Photo == '' && property_exists($Object, $Email)) {
$User->Photo = 'http://www.gravatar.com/avatar.php?'
.'gravatar_id='.md5(strtolower($Object->$Email))
- .'&default='.urlencode(Asset(Gdn::Config('Plugins.Gravatar.DefaultAvatar', 'plugins/Gravatar/default.gif'), TRUE))
- .'&size='.Gdn::Config('Garden.Thumbnail.Width', 40);
+ .'&default='.urlencode(Asset(Gdn::Config('Plugins.Gravatar.DefaultAvatar', 'plugins/Gravatar/default.gif'), TRUE))
+ .'&size='.Gdn::Config('Garden.Thumbnail.Width', 40);
}
return $User;
}
(transform & into &)
0