mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Fix bug parsing url query with escaped & or = (#4172)
I have tested this manually: <img width="727" alt="Screenshot 2024-03-14 at 19 38 34" src="https://github.com/emilk/egui/assets/1148717/fa1f6da4-d9e3-4f08-9812-1d61479dfd52">
This commit is contained in:
@@ -718,7 +718,7 @@ pub struct WebInfo {
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Location {
|
||||
/// The full URL (`location.href`) without the hash.
|
||||
/// The full URL (`location.href`) without the hash, percent-decoded.
|
||||
///
|
||||
/// Example: `"http://www.example.com:80/index.html?foo=bar"`.
|
||||
pub url: String,
|
||||
|
||||
Reference in New Issue
Block a user