]> source.dussan.org Git - gitea.git/commit
HashEmail function should also remove spaces
authorAndrew Burns <ErebusBat@gmail.com>
Fri, 5 Dec 2014 17:58:49 +0000 (10:58 -0700)
committerAndrew Burns <ErebusBat@gmail.com>
Fri, 5 Dec 2014 17:58:49 +0000 (10:58 -0700)
commitadc1ac689efb23c6de2a22b0d6226d02b1641222
treec29b927201d4c1c9f4add159005bb50a526fc20b
parente577f2fff38957316a2b6d584cad9bc7abaf732b
HashEmail function should also remove spaces

According to the [Gravatar API](https://en.gravatar.com/site/implement/hash/) whitespace should also be removed from the email, it was not doing this previously.
modules/avatar/avatar.go