use formatted uri from request

This commit is contained in:
yggverse 2024-12-09 17:23:31 +02:00
parent 09f2a17f22
commit e32e425f65

View File

@ -427,7 +427,7 @@ impl Page {
Priority::DEFAULT,
cancellable.clone(),
// Search for user certificate match request
match self.profile.identity.gemini.match_scope(&self.navigation.request.widget.entry.text()) {
match self.profile.identity.gemini.match_scope(&uri.to_string()) {
Some(identity) => match identity.to_tls_certificate() {
Ok(certificate) => Some(certificate),
Err(reason) => todo!("{reason}"),