Bugfix
(User-visible)
Detail
#28555
Images in HTML attributes are only displayed after saving
If an image is uploaded in an HTML (or I18N HTML) attribute, it is not displayed. If Apply is pressed, it is displayed. If F5 is pressed instead, the image is removed.
Cause
The cause is that the images are ignored as separate images on the server and the bliders are then displayed "inline".
Currently, data is ignored in the upload if there is not exactly one part in the multipart request. Now two parts are delivered: the actual data and the CSRF token as the second part.
Solution
The multipart parts are filtered for parts with the name "upload" and the first part is used as the image.
Test
Upload an image in a Demo-A in the "HTML" attribute. The CK editor must display the message "image successfully uploaded" (or similar) and the image must be displayed.