Problem/Motivation

SA-CORE-2026-003's tests from the private issue have not yet been added to core.

Proposed resolution

Add the tests.

Remaining tasks

NR.

Issue fork drupal-3633177

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

xjm created an issue. See original summary.

xjm’s picture

Status: Active » Needs review

Accidentally left the branch named for the private issue's internal name but oh well.

smustgrave’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: +Needs Review Queue Initiative

Reverted the change from https://git.drupalcode.org/project/drupal/-/commit/dffa15c1a59b540390e24...
Applied the MR and ran the test

Failed asserting that two strings are identical.
Expected :'Test Node <script>alert(1)</script>'
Actual   :'Test Node <script>alert(1)</script>'

It's a kernel test so think being a standalone is fine, and covers the 1 line change from the commit

alexpott’s picture

Version: main » 11.5.x-dev
Status: Reviewed & tested by the community » Fixed

Backported to 11.5.x to keep tests aligned.

Committed and pushed de1056e5a1d to main and 9c4b4d32857 to 12.0.x and 9141adf9feb to 11.x and 46909418eb7 to 11.5.x. Thanks!

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.

  • alexpott committed 46909418 on 11.5.x
    task: #3633177 Add test coverage for SA-CORE-2026-003
    
    By: xjm
    By:...

  • alexpott committed 9141adf9 on 11.x
    task: #3633177 Add test coverage for SA-CORE-2026-003
    
    By: xjm
    By:...

  • alexpott committed 9c4b4d32 on 12.0.x
    task: #3633177 Add test coverage for SA-CORE-2026-003
    
    By: xjm
    By:...

  • alexpott committed de1056e5 on main
    task: #3633177 Add test coverage for SA-CORE-2026-003
    
    By: xjm
    By:...

Status: Fixed » Closed (fixed)

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