CSP changes broke style attribute on TOS & instance panel [bug] #286

Open
opened 2023-02-28 22:56:37 +00:00 by eris · 0 comments
Contributor

Version

3.6.0

CSP changes now break using the style attribute completely in terms-of-service.html and panel.html (and likely elsewhere).

So if you have an image and want to do <img src="blah.png" style="height: 20px"> you can't do so.

I was able to review the commits to work around this limitation but it seems like bad behavior and broke several instances' TOS pages.

Per the console it might also be breaking animation.css and fontello.css ("not a supported MIME type") but I dont know what the ramifications for that are

### Version 3.6.0 CSP changes now break using the `style` attribute completely in `terms-of-service.html` and `panel.html` (and likely elsewhere). So if you have an image and want to do `<img src="blah.png" style="height: 20px">` you can't do so. I was able to review the commits to work around this limitation but it seems like bad behavior and broke several instances' TOS pages. Per the console it might also be breaking animation.css and fontello.css ("not a supported MIME type") but I dont know what the ramifications for that are
eris changed title from CSP changes broke style attribute on TOS [bug] to CSP changes broke style attribute on TOS & instance panel [bug] 2023-02-28 23:02:28 +00:00
Mergan added the
Bug
label 2023-03-15 21:12:59 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma-fe#286
No description provided.