aboutsummaryrefslogtreecommitdiff
path: root/src/cache.c
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2010-04-06 02:27:54 +0000
committercorvid <corvid@lavabit.com>2010-04-06 02:27:54 +0000
commit6f3fa9135b34e14c5330cb563b136e915d91ecf9 (patch)
treec27e6bd8327c305e062e225ea1e5200c86425db6 /src/cache.c
parentd632e3c9d3a9fb6e3fd2dd7b28edca99012d7782 (diff)
filter automatic requests
same_domain option in preference so that spying on users isn't so easy.
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index cdcdeeaf..fcd27a05 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -941,7 +941,7 @@ static int Cache_redirect(CacheEntry_t *entry, int Flags, BrowserWindow *bw)
NewUrl = a_Url_new(URL_STR_(entry->Location), URL_STR_(entry->Url));
if (entry->Flags & CA_TempRedirect)
a_Url_set_flags(NewUrl, URL_FLAGS(NewUrl) | URL_E2EQuery);
- a_Nav_push(bw, NewUrl);
+ a_Nav_push(bw, NewUrl, entry->Url);
a_Url_free(NewUrl);
} else {
/* Sub entity redirection (most probably an image) */