aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCameron Paul <cpaul37@gmail.com>2025-03-29 09:28:27 -0500
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-05-01 00:56:42 +0200
commitcaa7c4a4bebae237ceaf7f4a8badaf10c5c680e7 (patch)
treec6a624ab7ccf96bea594920e4c671ccd2031502a /src
parentb9f549d16bb062e3ee930d03aca3794f7607ded1 (diff)
Offer download if content disposition isn't recognized
Diffstat (limited to 'src')
-rw-r--r--src/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index 319de1b6..28efda71 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -1280,7 +1280,7 @@ static CacheEntry_t *Cache_process_queue(CacheEntry_t *entry)
* connection and to keep a failed-resource flag in
* the cache entry. */
}
- } else if (dtype && dStrnAsciiCasecmp(dtype, "attachment", 10) == 0) {
+ } else if (dtype && dStrnAsciiCasecmp(dtype, "inline", 6) != 0) {
AbortEntry = OfferDownload = TRUE;
}
}