[openstreetmap/openstreetmap-website] Fix Codeberg SVG (PR #6964)
Marwin Hochfelsner
notifications at github.com
Sat Apr 4 21:32:41 UTC 2026
The previous fix #6813 had, was not working as intended due to CSP issues:
> Applying inline style violates the following Content Security Policy directive 'style-src 'self' 'nonce-...''. Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present. The action has been blocked.
The fractional viewbox also didn't help keep the filesize low, so this results in a 15 % reduction in the issuer's profile page response size.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6964
-- Commit Summary --
* Fix Codeberg SVG
-- File Changes --
M app/assets/images/social_link_icons/codeberg.svg (168)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6964.patchhttps://github.com/openstreetmap/openstreetmap-website/pull/6964.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6964
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6964 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260404/0953ffe9/attachment-0001.htm>
More information about the rails-dev
mailing list