Pārlūkot izejas kodu

Email was not being trimed/lowercased when calling gravatar.

main
Ian Wilkinson pirms 6 gadiem
revīziju iesūtīja Eric Amodio
vecāks
revīzija
4e801bc73a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/git/models/commit.ts

+ 1
- 1
src/git/models/commit.ts Parādīt failu

@ -186,7 +186,7 @@ export abstract class GitCommit {
gravatar = Uri.parse(
`https://www.gravatar.com/avatar/${
this.email ? Strings.md5(this.email, 'hex') : '00000000000000000000000000000000'
this.email ? Strings.md5(this.email.trim().toLowerCase(), 'hex') : '00000000000000000000000000000000'
}.jpg?s=${size}&d=${fallback}`
);
gravatarCache.set(key, gravatar);

Notiek ielāde…
Atcelt
Saglabāt