Make CKEditor5ImageController reuse FileUploadHandler

Created on 21 September 2023, about 1 year ago
Updated 16 August 2024, 3 months ago

Problem/Motivation

As part of 📌 [META] Modernise file upload logic Active it was identified CKEditor5ImageController duplicates a lot of logic in FileUploadHandler. This has lead to bugs like 🐛 [PP-1] CKEditor file upload sets file URI prior to validation, causing validators to be unable to find the file. Postponed

In order to reduce the chances of bugs like this happening, we should make CKEditor5ImageController reuse FileUploadHandler.

Steps to reproduce

Proposed resolution

make CKEditor5ImageController reuse FileUploadHandler.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
CKEditor 5 

Last updated about 17 hours ago

Created by

🇦🇺Australia kim.pepper 🏄‍♂️🇦🇺Sydney, Australia

Live updates comments and jobs are added and updated live.
  • Security improvements

    It makes Drupal less vulnerable to abuse or misuse. Note, this is the preferred tag, though the Security tag has a large body of issues tagged to it. Do NOT publicly disclose security vulnerabilities; contact the security team instead. Anyone (whether security team or not) can apply this tag to security improvements that do not directly present a vulnerability e.g. hardening an API to add filtering to reduce a common mistake in contributed modules.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024