Hello

Function oembed_filter_oembed_prepare uses the $filter->settings['autoembed'] to replace the URLs with the [embed]...[\embed] wrapper, however these settings come from a serialized string, which not always provides a consistent type for the values, instead of doing a strict comparison between OEMBED_AUTOEMBED_UNWRAP === $filter->settings['autoembed'] it should be doing a regular comparison using OEMBED_AUTOEMBED_UNWRAP == $filter->settings['autoembed']

CommentFileSizeAuthor
oembed.filter.inc_.patch762 bytesbryanrice

Comments

BryanRice created an issue. See original summary.

astonvictor’s picture

Status: Active » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

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

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

Maintainers, please credit people who helped resolve this issue.