Profile image cannot be uploaded when this extension is enabled on FreeFlarum forums. Console:
Refused to load the image 'blob:https://www.forum.tld/d59515fe-733d-46e7-8730-4e1ef7a0da54' because it violates the following Content Security Policy directive: "img-src https: data:".
index.js:122 Uncaught (in promise) Error: ImageBlobReduce: failed to create Image() from blob
at t.image.onerror (index.js:122:46)
Disabling the extension solves the issue. No server-side logs. PHP Flarum info:
Flarum core 1.6.2
PHP version: 8.1.2-1ubuntu2.8
MySQL version: 5.5.5-10.9.3-MariaDB-1:10.9.3+maria~ubu2204
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+----------------------------------+---------+--------+
| Flarum Extensions | | |
+----------------------------------+---------+--------+
| ID | Version | Commit |
+----------------------------------+---------+--------+
| flarum-tags | v1.6.1 | |
| flarum-sticky | v1.6.1 | |
| flarum-suspend | v1.6.1 | |
| fof-pages | 1.0.4 | |
| flarum-flags | v1.6.1 | |
| flarum-markdown | v1.6.1 | |
| v17development-seo | v1.8.0 | |
| the-turk-stickiest | 3.0.1 | |
| the-turk-flamoji | 1.0.4 | |
| the-turk-diff | 1.1.2 | |
| sycho-profile-cover | v1.3.3 | |
| sycho-move-posts | v0.1.7 | |
| migratetoflarum-canonical | 1.0.0 | |
| justoverclock-username-blacklist | 0.1.0 | |
| justoverclock-hashtag | 1.0.1 | |
| jslirola-login2seeplus | v0.2.1 | |
| ianm-syndication | 1.2.2 | |
| fof-user-directory | 1.2.3 | |
| fof-user-bio | 1.1.1 | |
| fof-upload | 1.2.3 | |
| fof-stopforumspam | 1.2.3 | |
| fof-split | 1.1.0 | |
| fof-socialprofile | 1.1.4 | |
| fof-sitemap | 2.0.1 | |
| fof-secure-https | 1.1.0 | |
| fof-reactions | 1.1.3 | |
| fof-profile-image-crop | 1.1.0 | |
| fof-polls | 1.3.0 | |
| fof-nightmode | 1.5.1 | |
| fof-moderator-notes | 1.1.0 | |
| fof-merge-discussions | 1.3.1 | |
| fof-ignore-users | 1.1.0 | |
| fof-formatting | 1.0.2 | |
| fof-discussion-thumbnail | 1.1.0 | |
| fof-default-user-preferences | 1.2.0 | |
| fof-default-group | 1.1.0 | |
| fof-byobu | 1.1.8 | |
| fof-best-answer | 1.2.4 | |
| fof-bbcode-details | 1.1.0 | |
| flarum-subscriptions | v1.6.1 | |
| flarum-statistics | v1.6.1 | |
| flarum-pusher | v1.6.1 | |
| flarum-mentions | v1.6.1 | |
| flarum-lock | v1.6.1 | |
| flarum-lang-turkish | 1.12.0 | |
| flarum-lang-swedish | 1.1.1 | |
| flarum-lang-spanish | 1.5.0 | |
| flarum-lang-polish | v1.0.9 | |
| flarum-lang-italian | 1.9.0 | |
| flarum-lang-german | 1.4.6 | |
| flarum-lang-french | v4.4.0 | |
| flarum-lang-english | v1.6.0 | |
| flarum-lang-brazilian | 1.4.0 | |
| flarum-emoji | v1.6.1 | |
| flarum-bbcode | v1.6.0 | |
| davwheat-custom-sidenav-links | 1.0.1 | |
| datlechin-signup-button | v0.1.1 | |
| datlechin-scroll-buttons | v1.1.0 | |
| datlechin-keyboard-shortcuts | v0.1.1 | |
| askvortsov-rich-text | v2.1.7 | |
| askvortsov-pwa | v3.1.3 | |
| askvortsov-moderator-warnings | v0.6.1 | |
| askvortsov-markdown-tables | v1.2.1 | |
| askvortsov-categories | v3.0.6 | |
| acpl-mobile-tab | 1.1.1 | |
+----------------------------------+---------+--------+
Base URL: https://[redacted]
Installation path: /mnt/data-new/host/[redacted]
Queue driver: sync
Session driver: file
Mail driver: smtp
Debug mode: off