pwa_extras regression after #3395058

Created on 3 October 2024, 3 months ago

Problem/Motivation

Warning: Undefined array key "name" in pwa_extras_page_attachments() (line 55 of modules/contrib/pwa/modules/pwa_extras/pwa_extras.module).

Warning: Undefined array key "name" in pwa_extras_page_attachments() (line 55 of modules/contrib/pwa/modules/pwa_extras/pwa_ext

Steps to reproduce

Install and configure the pwa_extras.
Because all of the metatags in pwa_extras_tag_list pass through Html::escape, when it gets passed through (new DOMDocument())->loadHTML() the values are escaped and the above error happens.

Proposed resolution

In place of Html::escape use Xss::filter

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇳🇮Nicaragua jeremy1606

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024