mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-11 11:53:21 +03:00
* fix(core): add hash symbol in uri parse * chore: add changelog Co-authored-by: Evgeniy Abramov <i@kio.ninja>
This commit is contained in:
parent
f7e9fe8f3f
commit
07fd9a92de
5
.changes/uri-parse.md
Normal file
5
.changes/uri-parse.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"tauri": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix loading url containing URI fragment
|
@ -405,7 +405,7 @@ impl<P: Params> WindowManager<P> {
|
|||||||
CustomProtocol {
|
CustomProtocol {
|
||||||
protocol: Box::new(move |path| {
|
protocol: Box::new(move |path| {
|
||||||
let mut path = path
|
let mut path = path
|
||||||
.split('?')
|
.split(&['?', '#'][..])
|
||||||
// ignore query string
|
// ignore query string
|
||||||
.next()
|
.next()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
Loading…
Reference in New Issue
Block a user