Gravatar now restricts default URLs
Bug #1057832 reported by
François Marier
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Libravatar (obsolete) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
A URL like this:
http://
will be redirected to Gravatar like this:
which used to end up here:
http://
but now ends up here:
http://
This breaks sites that used local paths instead of full URLs in their "default" parameter.
For libravatar.org, this means that we now effectively have two different behaviours:
1. when using an MD5 hash, you get the Gravatar behaviour because we redirect to Gravatar first
2. when using a SHA256 hash, you get the original behaviour because we never redirect to Gravatar
To post a comment you must log in.
I see two options to resolve this inconsistency:
1. we implement the same kind of server-side fetching and caching of arbitrary third-party images
2. we drop the SHA256 hashes and redirect everything through Gravatar
Option #2 would of course be undesirable since it leads to a feature loss (and the MD5 problem is only going to get worse as time passes), but option #1 has several problems in our distributed environment:
- an attacker could abuse this server-side fetching and DoS the server's bandwidth or disk space by causing it to download lots of large images (Gravatar is affected by this problem, but they have more money!)
- it makes third-party implementations a lot harder