fix(security): check URL hosts with a parser and route opened links through one gate
Daniel Däschle authored 2 days ago
- session::trusted_url: host checks on url::Url (https, no user info, no port), used for link preview, AMS, calling, inline video and origin checks
- Session::batch and the skype-token transport only attach credentials for Microsoft hosts
- app_base::open_link: one allowlist for every URL handed to the OS; a test rejects raw cx.open_url
- Video embed: Microsoft hosts only, no external app launch, only user-initiated new windows
- Calls: both mic tracks follow the initial mute and stay off during setup; hold silences restarted software audio
- Credential allowlist includes the Defender for Cloud Apps proxy (mcas.ms); origin checks use App::is_app_url
- cargo fmt on three unrelated files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>