Problem/Motivation

With a certain link, we will have a double preview.

Steps to reproduce

1. Go to Text formats and editors. Choose your text editor and go to the configuration page.
Find Filter settings > Opengraph Filter and set up more than one Number of previews (for example, 2) and save the configuration.

2. Add a link that contains "https" and "www" (for example, https://www.wikipedia.org/) into the field and save.

3. The preview for the link is duplicated.

Proposed resolution

Updating the pattern of the links that process them.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
Screenshot from 2025-12-09 16-04-33.png90.19 KBjust-me
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

just-me created an issue. See original summary.

just-me’s picture

Issue summary: View changes
just-me’s picture

Issue summary: View changes

just-me’s picture

Assigned: just-me » Unassigned
Status: Active » Needs review

  • loon committed 423b794c on 8.x-1.x authored by just-me
    Issue #3562237: URL pattern 'Match www domains' was updated by adding...
loon’s picture

Status: Needs review » Fixed

Thanks, merged

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.