• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF2 with CSP enabled

MattW

Well-known member
#1
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.