Skip to content

og:image meta tag doesn't carry the scheme #15

@usamah82

Description

@usamah82

Most probably a quick fix, but I didn't have time to create a PR.

Basically at:

meta_tags[:image] = CONFIG[:host] + @article.image_url if @article.image_url.present?

meta_tags[:image] = CONFIG[:host] + @article.image_url if @article.image_url.present?

causes the og:image meta tag to not carry the scheme (http vs https), making FB scraper complain of mixed scheme / content issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions