Commit Diff
- Commit:
0f7d82716aa8a5721057cbc858dbbbf6ba6502f9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
- Message:
- 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...
- Actions:
- Patch | Tree
--- 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); }