Browse Source

Add current URL to history before redirect

tags/0.8.14
Julien Blanchard 11 months ago
parent
commit
640f265fe9
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/main.rs

+ 1
- 0
src/main.rs View File

@@ -234,6 +234,7 @@ pub fn visit_url<T: AbsoluteUrl + Protocol>(gui: &Arc<Gui>, url: T) {
234 234
                                 }
235 235
                                 Status::RedirectTemporary(new_url)
236 236
                                 | Status::RedirectPermanent(new_url) => {
237
+                                    history::append(absolute_url.as_str());
237 238
                                     visit_url(&gui, Gemini { source: new_url });
238 239
                                 }
239 240
                                 Status::TransientCertificateRequired(_meta)

Loading…
Cancel
Save