WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#19076 closed defect (bug) (fixed)

smugmug oEmbed regex can match incorrect domains

Reported by: duck_ Owned by: duck_
Milestone: 3.3 Priority: normal
Severity: normal Version:
Component: Embeds Keywords: has-patch commit
Focuses: Cc:

Description

The smugmug oEmbed regex should add an escaped . to ensure it only matches "*.smugmug.com" and not something like "notsmugmug.com".

See also #17106

Attachments (1)

19076.diff (1.8 KB) - added by duck_ 3 years ago.

Download all attachments as: .zip

Change History (3)

@duck_3 years ago

comment:1 @nacin3 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.3

comment:2 @duck_3 years ago

  • Owner set to duck_
  • Resolution set to fixed
  • Status changed from new to closed

In [19079]:

Ensure auto-embed only matches "smugmug.com" and its subdomains. Fixes #19076.

Note: See TracTickets for help on using tickets.