Skip to content

Commit

Permalink
Remove fixed scheme from gravatar url
Browse files Browse the repository at this point in the history
no issue
- removed scheme from gravatar url

Reason:
Gravatar supports ssl and the fixed scheme will cause ‚insecure
content‘ warnings.
  • Loading branch information
sebgie committed Dec 17, 2013
1 parent 96f2465 commit 05ca5ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ User = ghostBookshelf.Model.extend({
},

gravatarLookup: function (userData) {
var gravatarUrl = 'http://www.gravatar.com/avatar/' +
var gravatarUrl = '//www.gravatar.com/avatar/' +
crypto.createHash('md5').update(userData.email.toLowerCase().trim()).digest('hex') +
"?d=404",
checkPromise = when.defer();
Expand Down

0 comments on commit 05ca5ed

Please sign in to comment.