aboutsummaryrefslogtreecommitdiff
path: root/src/cache.c
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-10-02 19:59:45 +0000
committercorvid <corvid@lavabit.com>2012-10-02 19:59:45 +0000
commit78003c727f7eae3a593260941aa4db6627dd1e75 (patch)
tree21682eab31f55e6eb29d160e5b79a29d0e668699 /src/cache.c
parent59a313356104e4d426fb1e5e0979a0d5b54e99c2 (diff)
rm filter_auto_requests
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cache.c b/src/cache.c
index ea9d9a1f..97cbc458 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -682,8 +682,7 @@ static void Cache_parse_header(CacheEntry_t *entry)
/* 30x: URL redirection */
DilloUrl *location_url = a_Url_new(location_str,URL_STR_(entry->Url));
- if (prefs.filter_auto_requests == PREFS_FILTER_SAME_DOMAIN &&
- !a_Url_same_organization(entry->Url, location_url)) {
+ if (0) {
/* don't redirect; just show body like usual (if any) */
MSG("Redirection not followed from %s to %s\n",
URL_HOST(entry->Url), URL_STR(location_url));