Skip to content

Merge changes from V25-12 patches#6027

Open
ssddanbrown wants to merge 16 commits intodevelopmentfrom
v25-12
Open

Merge changes from V25-12 patches#6027
ssddanbrown wants to merge 16 commits intodevelopmentfrom
v25-12

Conversation

@ssddanbrown
Copy link
Member

No description provided.

- Added new option to control parts of the filter.
- Added whitelist filtering pass via HTMLPurifier.
Tested it with a range of supported, including uncommon, content types
and added support, or changed config, where needed.
Been through docs for all HTMLPurifier options to assess what's
relevant.
- Updated page content cache to use app version in cache key
- Moved purifier cache into framework to better work with existing
  expected folders.
- Added app version check to purifier so that it will reset its own
  cache on app version change.
Updates CSP to use new content_filtering option.
Splits out content filtering tests to their own class.
Updated tests where needed to adapt to changes.
Was blocked by CSP anyway, but best to have an extra layer.
When loaded via ajax for draft revert live in editor, or when loaded
into the editor by a different user.
Also fixed test namespace
Moved from a static folder to a dynamically created folder in the
framework/cache directory, to increase the chance that it's created with
server-writable permissions.
This is due to an issue where users had permission issues, since adding
a new folder means it's created by the git user and often
non-web-writable.
@ssddanbrown ssddanbrown added this to the Next Feature Release milestone Feb 18, 2026
@ssddanbrown ssddanbrown self-assigned this Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments