diff options
author | Cameron Paul <cpaul37@gmail.com> | 2025-03-29 09:28:27 -0500 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-05-01 00:56:42 +0200 |
commit | caa7c4a4bebae237ceaf7f4a8badaf10c5c680e7 (patch) | |
tree | c6a624ab7ccf96bea594920e4c671ccd2031502a | |
parent | b9f549d16bb062e3ee930d03aca3794f7607ded1 (diff) |
Offer download if content disposition isn't recognized
-rw-r--r-- | src/cache.c | 2 |
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; } } |