You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To ensure a consistent and accurate hash, the following steps should be taken to create a hash:
Trim leading and trailing whitespace from an email address
Force all characters to lower-case
hash the final string with SHA256
Current implementation has a default value for FORCE_LOWER of False. This results in a wrong hash value for emails which start or are complete in upper case. I think the default should follow gravatar.com recommendations and force all characters of an email address to lower-case.
The text was updated successfully, but these errors were encountered:
oldboys92
added a commit
to oldboys92/Flask-Gravatar
that referenced
this issue
Feb 1, 2024
The developer documentation from
gravatar.com
states:Current implementation has a default value for
FORCE_LOWER
ofFalse
. This results in a wrong hash value for emails which start or are complete in upper case. I think the default should followgravatar.com
recommendations and force all characters of an email address to lower-case.The text was updated successfully, but these errors were encountered: