Skip to content

[CORRUPTED] Synthetic Benchmark PR #14265 - fix(core): SHA256 hash for JS scripts CSP on Windows - #68

Open
ofir-frd wants to merge 3 commits into
base_pr_14265_20260120_4265from
corrupted_pr_14265_20260120_4265
Open

[CORRUPTED] Synthetic Benchmark PR #14265 - fix(core): SHA256 hash for JS scripts CSP on Windows#68
ofir-frd wants to merge 3 commits into
base_pr_14265_20260120_4265from
corrupted_pr_14265_20260120_4265

Conversation

@ofir-frd

Copy link
Copy Markdown

Benchmark PR tauri-apps#14265

Type: Corrupted (contains bugs)

Original PR Title: fix(core): SHA256 hash for JS scripts CSP on Windows
Original PR Description: 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.

Original PR URL: tauri-apps#14265

Compliance Violation

  • Rule: Changes Requiring a Version Bump Must Include a Change File
  • Language: Rust
  • File: crates/tauri-utils/src/html.rs

lucasfernog and others added 3 commits October 8, 2025 16:23
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants