wraith/src-tauri/src
Vantz Stockwell 6015f8669b
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 3m45s
fix: WebviewUrl::App hash fragment bug — tool windows loading empty page
ROOT CAUSE FOUND: WebviewUrl::App takes a PathBuf, not a URL.
Passing "index.html#/tool/ping?sessionId=abc" treated the ENTIRE
string including # and ? as a file path. Tauri looked for a file
literally named "index.html#/tool/ping?sessionId=abc" which doesn't
exist. The webview loaded an empty/404 page and WKWebView killed
the content process, closing the window instantly.

Fix:
- Rust: split URL at '#' — pass only "index.html" to WebviewUrl::App,
  then set the hash fragment via window.eval() after build()
- Vue: App.vue now listens for 'hashchange' event in addition to
  checking hash on mount, so the eval-injected hash triggers the
  correct tool/detached mode

This was NEVER a CSP issue, focus issue, crossorigin issue, or
async chunk loading issue. It was always a bad file path.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 15:04:30 -04:00
..
bin fix: SEC-1/SEC-2 shell escape utility + MCP bearer token auth 2026-03-29 16:40:13 -04:00
commands fix: WebviewUrl::App hash fragment bug — tool windows loading empty page 2026-03-30 15:04:30 -04:00
connections perf: double-buffered RDP frames + frontend rAF throttling 2026-03-30 09:19:40 -04:00
credentials feat: Phase 1 complete — Tauri v2 foundation 2026-03-17 15:09:41 -04:00
db fix: four backend correctness bugs — UTF-8 paths, dead vars, transactions, subnet validation 2026-03-29 16:52:33 -04:00
mcp perf: double-buffered RDP frames + frontend rAF throttling 2026-03-30 09:19:40 -04:00
pty fix: MCP bridge built, signed, and shipped in CI releases 2026-03-25 12:55:17 -04:00
rdp fix: 6 UX regressions — popups, themes, cursor, selection, status bar 2026-03-30 10:58:45 -04:00
scanner perf: double-buffered RDP frames + frontend rAF throttling 2026-03-30 09:19:40 -04:00
settings perf: PERF-1/2/3 scrollback bulk write, RDP binary IPC, settings dedup 2026-03-29 16:40:08 -04:00
sftp refactor: 5 code quality fixes — shared ssh exec, wraith_log!, idiomatic Clone, Clone derives, sync RDP commands 2026-03-29 16:56:55 -04:00
ssh refactor: 5 code quality fixes — shared ssh exec, wraith_log!, idiomatic Clone, Clone derives, sync RDP commands 2026-03-29 16:56:55 -04:00
theme refactor: 5 code quality fixes — shared ssh exec, wraith_log!, idiomatic Clone, Clone derives, sync RDP commands 2026-03-29 16:56:55 -04:00
vault fix: SEC-3/CONC-1/2/3 vault zeroize + async mutex + cancellation tokens 2026-03-29 16:40:10 -04:00
workspace refactor: 5 code quality fixes — shared ssh exec, wraith_log!, idiomatic Clone, Clone derives, sync RDP commands 2026-03-29 16:56:55 -04:00
lib.rs fix: Rust-side window creation + RDP tab switch layout delay 2026-03-30 14:29:14 -04:00
main.rs feat: Phase 1 complete — Tauri v2 foundation 2026-03-17 15:09:41 -04:00
utils.rs fix: SEC-1/SEC-2 shell escape utility + MCP bearer token auth 2026-03-29 16:40:13 -04:00