Files
Sable/src-tauri
7w1 207252b522 fix(tauri): harden CSP, scope media CORS, block loopback redirects, allow --no-updater builds (#1378)
<!-- Please read
https://github.com/SableClient/Sable/blob/dev/CONTRIBUTING.md before
submitting your pull request -->

### Description

Tighten the webview CSP (unsafe-eval → wasm-unsafe-eval, explicit
worker/font/frame-src, object-src none), scope sable-media's CORS grant
to the app's own origins, stop loopback_fetch following redirects
off-loopback, and let self-builders opt out of the updater with
--no-updater.

Fixes #

#### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings

### AI disclosure:

- [ ] Partially AI assisted (clarify which code was AI assisted and
briefly explain what it does).
- [ ] Fully AI generated (explain what all the generated code does in
moderate detail).
<!-- Write any explanation required here, but do not generate the
explanation using AI!! You must prove you understand what the code in
this PR does. -->
2026-07-26 09:47:15 -05:00
..
2026-07-24 16:12:04 -05:00
2026-03-12 16:53:51 +01:00
2026-07-19 01:06:27 +02:00