XF2 with CSP enabled

MattW

Well-known member
So, having just upgraded to XF2, I was unable to drag and drop / paste an image into the editor (Attach files button worked).

Looking in the Chrome console, it was reporting that blob: was being blocked, as I wasn't allowing this in the CSP string

Code:
img-src 'self' blob: data:

Adding blob: into the img-src section fixed the issue (y)

Just a tip if someone else comes across the issue.
 
Back
Top Bottom