Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit aaf4f28

Browse files
committed
Merge branch 'ab/gitweb-use-same-scheme' into maint
* ab/gitweb-use-same-scheme: gitweb: refer to picon/gravatar images over the same scheme
2 parents c0e96dd + 5748558 commit aaf4f28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitweb/gitweb.perl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2068,7 +2068,7 @@ sub picon_url {
20682068
if (!$avatar_cache{$email}) {
20692069
my ($user, $domain) = split('@', $email);
20702070
$avatar_cache{$email} =
2071-
"http://www.cs.indiana.edu/cgi-pub/kinzler/piconsearch.cgi/" .
2071+
"//www.cs.indiana.edu/cgi-pub/kinzler/piconsearch.cgi/" .
20722072
"$domain/$user/" .
20732073
"users+domains+unknown/up/single";
20742074
}
@@ -2083,7 +2083,7 @@ sub gravatar_url {
20832083
my $email = lc shift;
20842084
my $size = shift;
20852085
$avatar_cache{$email} ||=
2086-
"http://www.gravatar.com/avatar/" .
2086+
"//www.gravatar.com/avatar/" .
20872087
Digest::MD5::md5_hex($email) . "?s=";
20882088
return $avatar_cache{$email} . $size;
20892089
}

0 commit comments

Comments
 (0)