commit 0f7d82716aa8a5721057cbc858dbbbf6ba6502f9 from: Omar Polo date: Mon Jan 22 17:03:23 2024 UTC attempt to fix relative URLs Was broken in 2590504796 with the switch to the new APIs. The previous implementation accepted a parsed URL as base, while the new one takes a string and we pass NULL when we want to refer to the current URL... commit - c24b14ad282967165c7a76de548f622365fa447f commit + 0f7d82716aa8a5721057cbc858dbbbf6ba6502f9 blob - a1f2db2801395dd01102cea7480116624a47794f blob + beb58f6449ac23f84e91a9788a99ee68f61b3806 --- telescope.c +++ telescope.c @@ -839,6 +839,9 @@ load_url_in_tab(struct tab *tab, const char *url, cons message("Loading %s...", url); } + if (base == NULL) + base = tab->hist_cur->h; + load_url(tab, url, base, mode); }