1
0
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:
Emil Ernerfeldt
2024-03-15 06:43:27 +01:00
committed by GitHub
parent c5eaba43cd
commit bf7ffb982a
2 changed files with 17 additions and 12 deletions

View File

@@ -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,