commit 7943bb816bd80662aa2a36f1d4f1ee0584052357 from: Omar Polo date: Sat Jul 10 19:10:10 2021 UTC fix certificate mismatch after load_previous_page and proxy load_previous_page calls directly do_load_url, where the proxy reset happens in load_url. commit - f6a429ebe5c3de47bf096be801998fb6d09e6a73 commit + 7943bb816bd80662aa2a36f1d4f1ee0584052357 blob - c554191ee0a7d2fdac029c9967c1ff577c261ba3 blob + fe3f264c21722aec1134e97c199177792c199e80 --- ChangeLog +++ ChangeLog @@ -1,3 +1,7 @@ +2021-07-10 Omar Polo + + * telescope.c (do_load_url): fix certificate mismatch when going back from a proxied page to a Gemini page. + 2021-07-09 Omar Polo * parse.y: make some newline optional blob - 0d786afb61e9e16a2e975bb6e4ed4568e6eba25a blob + aeaa6ffd25159747553fadf417113425666327ee --- telescope.c +++ telescope.c @@ -558,6 +558,8 @@ do_load_url(struct tab *tab, const char *url) struct proto *p; struct proxy *proxy; char *t; + + tab->proxy = NULL; if (tab->fd != -1) { close(tab->fd); @@ -610,8 +612,6 @@ load_url(struct tab *tab, const char *url) return; } - tab->proxy = NULL; - hist_push(&tab->hist, tab->hist_cur); do_load_url(tab, url); erase_buffer(&tab->buffer);