Compare commits

...

1 Commits

Author SHA1 Message Date
Greg Johnston
b484b39779 fix: do not unescape query and hash in URLs when clicking links (closes 2025-11-18 20:44:55 -05:00

View File

@@ -368,8 +368,8 @@ where
ev.prevent_default();
let to = path_name
+ if url.search.is_empty() { "" } else { "?" }
+ &Url::unescape(&url.search)
+ &Url::unescape(&url.hash);
+ &url.search
+ &url.hash;
let state = Reflect::get(&a, &JsValue::from_str("state"))
.ok()
.and_then(|value| {