Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always load gravatars over HTTPS #1792

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

dimadin
Copy link

@dimadin dimadin commented Oct 30, 2021

@dimadin dimadin marked this pull request as ready for review November 2, 2021 11:46
'scheme' => null,
'scheme' => 'https',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may cause problems for sites using hooks such as pre_get_avatar_data to replace gravatars with their own system. If the replacement system doesn't support https then the images will display as broken.

How about forcing gravatar.com urls to HTTPs regardless of this setting and adding in a comment explaining that gravatar.com redirects all URLs to SSL so the setting is disregarded for that reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants