mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
Merge branch 'ab/gitweb-use-same-scheme' into maint
* ab/gitweb-use-same-scheme: gitweb: refer to picon/gravatar images over the same scheme
This commit is contained in:
commit
aaf4f28d90
|
@ -2068,7 +2068,7 @@ sub picon_url {
|
||||||
if (!$avatar_cache{$email}) {
|
if (!$avatar_cache{$email}) {
|
||||||
my ($user, $domain) = split('@', $email);
|
my ($user, $domain) = split('@', $email);
|
||||||
$avatar_cache{$email} =
|
$avatar_cache{$email} =
|
||||||
"http://www.cs.indiana.edu/cgi-pub/kinzler/piconsearch.cgi/" .
|
"//www.cs.indiana.edu/cgi-pub/kinzler/piconsearch.cgi/" .
|
||||||
"$domain/$user/" .
|
"$domain/$user/" .
|
||||||
"users+domains+unknown/up/single";
|
"users+domains+unknown/up/single";
|
||||||
}
|
}
|
||||||
|
@ -2083,7 +2083,7 @@ sub gravatar_url {
|
||||||
my $email = lc shift;
|
my $email = lc shift;
|
||||||
my $size = shift;
|
my $size = shift;
|
||||||
$avatar_cache{$email} ||=
|
$avatar_cache{$email} ||=
|
||||||
"http://www.gravatar.com/avatar/" .
|
"//www.gravatar.com/avatar/" .
|
||||||
Digest::MD5::md5_hex($email) . "?s=";
|
Digest::MD5::md5_hex($email) . "?s=";
|
||||||
return $avatar_cache{$email} . $size;
|
return $avatar_cache{$email} . $size;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue