From caa7c4a4bebae237ceaf7f4a8badaf10c5c680e7 Mon Sep 17 00:00:00 2001 From: Cameron Paul Date: Sat, 29 Mar 2025 09:28:27 -0500 Subject: Offer download if content disposition isn't recognized --- src/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } } -- cgit v1.2.3