From a733f5c5a934b8c793f1ca398dc0e9b62a4dccf9 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 30 Jul 2020 13:28:43 +0300 Subject: GmDocument: Check absolute URLs for visit times --- src/gmdocument.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gmdocument.c b/src/gmdocument.c index bd54e6e5..5e14c55b 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c @@ -208,7 +208,8 @@ static iRangecc addLink_GmDocument_(iGmDocument *d, iRangecc line, iGmLinkId *li } } /* Check if visited. */ { - link->when = urlVisitTime_History(history_App(), &link->url); + link->when = urlVisitTime_History(history_App(), absoluteUrl_String(&d->url, + &link->url)); if (isValid_Time(&link->when)) { link->flags |= visited_GmLinkFlag; } -- cgit v1.2.3