mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
fix uri escape
This commit is contained in:
parent
e855eaf139
commit
3a227e5d57
@ -72,9 +72,11 @@ impl Page {
|
||||
}
|
||||
} else {
|
||||
// Plain text given, make search request to default provider
|
||||
Uri::escape_string(&request_text, None, false);
|
||||
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)
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user