[buddypress-trac] [BuddyPress] #2391: Gravatar email addresses appear to be case sensitive and therefore don't load properly.

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed May 19 22:46:43 UTC 2010


#2391: Gravatar email addresses appear to be case sensitive and therefore don't
load properly.
-------------------------+--------------------------------------------------
 Reporter:  hotforwords  |       Owner:          
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:  1.3     
Component:  Core         |    Keywords:  Gravatar
-------------------------+--------------------------------------------------

Comment(by beaulebens):

 Gravatar email addresses *are* case sensitive, and always have been. If
 you md5 a string with differing cases, it will create a different hash and
 therefore not resolve properly on Gravatar.

 Emails *must* be lowercased before hashing them to request a Gravatar.

 {{{
 $hash = md5( strtolower( $email ) );
 }}}

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2391#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list