Files
hermes-webui/api
Chase Florell 7bf8516529 fix: add cdn.jsdelivr.net to CSP connect-src
xterm.js, xterm-addon-fit, and xterm-addon-web-links are loaded from
cdn.jsdelivr.net via <script> tags. Their bundled source maps also live
on jsDelivr and are fetched via the connect mechanism (not a script load),
so they fall under connect-src, not script-src.

With connect-src limited to 'self', every browser blocks these fetches
and emits three CSP violation errors in the console whenever DevTools is
open. Adding cdn.jsdelivr.net to connect-src aligns it with script-src,
style-src, and font-src, which already allow that origin.

Adds a regression test following the pattern of test_issue1112_csp_google_fonts.py.

Closes nesquena/hermes-webui#1850
2026-05-07 13:10:20 -07:00
..
2026-04-29 19:54:07 -07:00
2026-05-07 18:41:13 +00:00