mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix uri escape
This commit is contained in:
parent
e855eaf139
commit
3a227e5d57
1 changed files with 4 additions and 2 deletions
|
|
@ -72,9 +72,11 @@ impl Page {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Plain text given, make search request to default provider
|
// Plain text given, make search request to default provider
|
||||||
Uri::escape_string(&request_text, None, false);
|
|
||||||
self.navigation.set_request_text(
|
self.navigation.set_request_text(
|
||||||
&GString::from(format!("gemini://tlgs.one/search?{request_text}")),
|
&GString::from(format!(
|
||||||
|
"gemini://tlgs.one/search?{}",
|
||||||
|
Uri::escape_string(&request_text, None, false)
|
||||||
|
)),
|
||||||
true, // activate (page reload)
|
true, // activate (page reload)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue