The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(core_rpc): redact URL path from log output
Steven Enamakel297ea571a7f7
diff --git a/app/src-tauri/src/core_rpc.rs b/app/src-tauri/src/core_rpc.rsindex bf66491dd9..7cc37d32b4 100644--- a/app/src-tauri/src/core_rpc.rs+++ b/app/src-tauri/src/core_rpc.rs@@ -41,15 +41,16 @@ fn relay_bearer_header(token: Option<&str>) -> Option<String> {}/// Redact a relay URL before it lands in a log line or error string: drop the-/// query, fragment, and any userinfo (which can carry tokens/credentials),-/// keeping just `scheme://host[:port]/path` so transport diagnostics stay-/// useful without persisting secrets. Falls back to a coarse sentinel when the-/// URL can't be parsed.+/// query, fragment, path, and any userinfo (which can carry tokens/credentials+/// or PII in the path itself), keeping just `scheme://host[:port]` so transport+/// diagnostics stay useful without persisting secrets. Falls back to a coarse+/// sentinel when the URL can't be parsed.pub(crate) fn redact_url_for_log(url: &str) -> String {url.parse::<url::Url>().map(|mut parsed| {parsed.set_query(None);parsed.set_fragment(None);+ parsed.set_path("");let _ = parsed.set_username("");let _ = parsed.set_password(None);parsed.to_string()