You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add inline images to my custom stylesheet. However whenever I save the custom stylesheet some post processing is done to it which breaks the CSS.
base64 encoded images:
the "data:image/type;base64" part is removed
I just faced the same issue with cachet 2.4 (sources from today) inside the docker image.
I guess it is because of Binput, which is used in the SettingsController.php.
The "malicious" code, which is the data uri, probably gets removed?
I'm trying to add inline images to my custom stylesheet. However whenever I save the custom stylesheet some post processing is done to it which breaks the CSS.
base64 encoded images:
the "data:image/type;base64" part is removed
Example:
after save looks like this:
URL-encoded SVG:
URL-encoded inline SVGs are decoded:
Example:
after save looks like this:
In both cases the resulting CSS is invalid and no image is rendered :(
The text was updated successfully, but these errors were encountered: