diff --git a/.changes/uri-parse.md b/.changes/uri-parse.md new file mode 100644 index 000000000..2b12788d9 --- /dev/null +++ b/.changes/uri-parse.md @@ -0,0 +1,5 @@ +--- +"tauri": patch +--- + +Fix loading url containing URI fragment diff --git a/core/tauri/src/manager.rs b/core/tauri/src/manager.rs index 05f46b4cf..c55350798 100644 --- a/core/tauri/src/manager.rs +++ b/core/tauri/src/manager.rs @@ -405,7 +405,7 @@ impl WindowManager

{ CustomProtocol { protocol: Box::new(move |path| { let mut path = path - .split('?') + .split(&['?', '#'][..]) // ignore query string .next() .unwrap()