diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 3fc7e841..40f34db4 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -41,6 +41,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
41 | #include "scrollwidget.h" | 41 | #include "scrollwidget.h" |
42 | #include "util.h" | 42 | #include "util.h" |
43 | #include "visbuf.h" | 43 | #include "visbuf.h" |
44 | #include "visited.h" | ||
44 | 45 | ||
45 | #include <the_Foundation/file.h> | 46 | #include <the_Foundation/file.h> |
46 | #include <the_Foundation/fileinfo.h> | 47 | #include <the_Foundation/fileinfo.h> |
@@ -1051,6 +1052,7 @@ static void checkResponse_DocumentWidget_(iDocumentWidget *d) { | |||
1051 | else if (equalCase_Rangecc(urlScheme_String(dstUrl), | 1052 | else if (equalCase_Rangecc(urlScheme_String(dstUrl), |
1052 | cstr_Rangecc(urlScheme_String(d->mod.url)))) { | 1053 | cstr_Rangecc(urlScheme_String(d->mod.url)))) { |
1053 | /* Redirects with the same scheme are automatic. */ | 1054 | /* Redirects with the same scheme are automatic. */ |
1055 | visitUrl_Visited(visited_App(), d->mod.url, transient_VisitedUrlFlag); | ||
1054 | postCommandf_App( | 1056 | postCommandf_App( |
1055 | "open redirect:%d url:%s", d->redirectCount + 1, cstr_String(dstUrl)); | 1057 | "open redirect:%d url:%s", d->redirectCount + 1, cstr_String(dstUrl)); |
1056 | } | 1058 | } |