chore(deps): update @dxpr/ckeditor5-ai-agent to 1.2.0#41
Merged
Conversation
BREAKING CHANGE: aiOutputSecurity config API changed Updates include: - security: Simplify AI output URL filtering (CVE-2025-32711) (#170) - Refactored from tag-specific to universal URL detection - Scans ALL attributes of ALL elements for URLs - Blocks javascript:, vbscript:, and data: URI schemes - Catches protocol-relative URLs (//evil.com/...) - HTML tag whitelist blocks dangerous elements by default - Updated supported models list Config migration: - allowedImageDomains and allowedLinkDomains replaced with unified allowedDomains
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@dxpr/ckeditor5-ai-agentfrom 1.1.2 to 1.2.0allowedImageDomains/allowedLinkDomainsto unifiedallowedDomainsCloses #40
Changes
PHP/Drupal Files
src/Form/AiAgentSettingsForm.php- Updated submit handlersrc/Plugin/CKEditor5Plugin/AiAgent.php- Updated default config and fallbackssrc/Form/ConfigMappingTrait.php- Updated config mappingsrc/Form/AiAgentFormTrait.php- Combined two textarea fields into single "Allowed Domains" fieldconfig/schema/ckeditor_ai_agent.schema.yml- Schema updatedconfig/schema/ckeditor_ai_agent.ckeditor5.schema.yml- Schema updatedJS Files (from npm package)
js/build/ai-agent.jsjs/ckeditor5_plugins/aiagent/src/Breaking Change
aiOutputSecurityconfig will need to migrate:Before:
After:
Test plan
drush cr)