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
Gravatars for users with an email address which contains upper characters are not loaded correctly. The problem is the hash values is wrongly calculated by FLASK_GRAVATAR module see bug. The initialization of the Gravatar module is not following the best practice recommended by gravatar.com service itself.
To Reproduce
Steps to reproduce the behavior:
create an account in pgadmin and use an email address which contains upper characters
add such an email to your profile at gravatar.com
this gets there saved as lower case
you get a random generated gravatar but not what you have setup
Expected behavior
The gravatar hash code should be calculated based on service provider recommendation (email always trimmed and lower case).
Error message
There is no error, but the calculated hash value is wrong and so a random generated image is loaded, even there is a personal one associated with the email of the logged in user.
Additional context
This might get solved by the upstream project (flask-gravatar) but the devs of the module seem not quite active lately. Since the parameter is already available, but has a wrong default value, this bug could be also fixed by pgadmin by correctly initializing the Gravatar function with a FORCE_LOWER value of True.
The text was updated successfully, but these errors were encountered:
Describe the bug
Gravatars for users with an email address which contains upper characters are not loaded correctly. The problem is the hash values is wrongly calculated by FLASK_GRAVATAR module see bug. The initialization of the Gravatar module is not following the best practice recommended by
gravatar.com
service itself.To Reproduce
Steps to reproduce the behavior:
gravatar.com
Expected behavior
The gravatar hash code should be calculated based on service provider recommendation (email always trimmed and lower case).
Error message
There is no error, but the calculated hash value is wrong and so a random generated image is loaded, even there is a personal one associated with the email of the logged in user.
Additional context
This might get solved by the upstream project (flask-gravatar) but the devs of the module seem not quite active lately. Since the parameter is already available, but has a wrong default value, this bug could be also fixed by pgadmin by correctly initializing the Gravatar function with a
FORCE_LOWER
value ofTrue
.The text was updated successfully, but these errors were encountered: