SIGN IN SIGN UP
tauri-apps / tauri UNCLAIMED

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.

0 0 122 Rust

fix(core): SHA256 hash for JS scripts CSP on Windows (#14265)

* fix(core): SHA256 hash for JS scripts CSP on Windows

we hash JS scripts as SHA256 for the Content-Security-Policy (CSP) header. The isolation pattern is broken on Windows due to the hash including carriage return characters, which are not processed when the webview checks the script hash to see if the CSP allows the script.

* fmt, clippy
L
Lucas Fernandes Nogueira committed
7b0d4e73227e42d88732b6d9fe643499dd78ec4e
Parent: c5008b8
Committed by GitHub <noreply@github.com> on 10/10/2025, 11:11:38 AM