tauri/.changes/fix-csp-windows.md
Lucas Fernandes Nogueira 7b0d4e7322
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
2025-10-10 08:11:38 -03:00

126 B

tauri-codegen
patch:bug

Fix JavaScript SHA256 hash generation on Windows not ignoring carriage return characters.