1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Default avatar URL for Gravatar broken when using custom imagePath

Discussion in 'Resolved Bug Reports' started by Ketola, Jun 27, 2014.

  1. Ketola

    Ketola Member

    When using a customized URL for imagePath in a style the default avatar URL that gets passed to Gravatar is broken.

    With default setting the (unescaped) URL is in the form of
    d=http://forums.host/styles/default/xenforo/avatars/avatar_l.png

    When switching imagePath to a CDN (e.g. http://cdn.host/styles/default) the default avatar URL becomes
    d=http://forums.host/http://cdn.host/styles/default/xenforo/avatars/avatar_l.png

    As long as the user has a working Gravatar, everything is OK. However if a Gravatar is set, but Gravatar reverts to the default, we get a broken image. Gravatar does a 302 redirect to
    http://i0.wp.com/forums.host/http://cdn.host/styles/default/xenforo/avatars/avatar_l.png

    Running XenForo v1.3.3 with no add-ons enabled and using the default style.
     
  2. Mike

    Mike XenForo Developer Staff Member

    Fixed now, thanks.
     
    Ketola likes this.

Share This Page