#1055971 atril: should not use the filename extension to determine the file type

Package:
atril
Source:
atril
Description:
MATE document viewer
Submitter:
Vincent Lefevre
Date:
2026-01-10 10:59:37 UTC
Severity:
normal
#1055971#5
Date:
2023-11-15 04:02:00 UTC
From:
To:
Consider a gzipped postscript file with 2 different names:

  file.ps.gz
  file.ps-1.gz

While file.ps.gz can be read correctly by atril, for file.ps-1.gz,
atril gives the following error:

  Unable to open document
  File type Gzip archive (application/gzip) is not supported

Using filename extensions is a bad idea, as filenames may not have
the expected extensions for files downloaded from the web. In
particular, when downloading a file file.ps.gz, Firefox uses this
filename if the file doesn't exist yet, but if it already exists,
Firefox renames it to "file.ps-1.gz" (increasing the number for
each additional download).

#1055971#10
Date:
2023-11-15 15:45:20 UTC
From:
To:
I've just reported a bug upstream.
#1055971#17
Date:
2026-01-10 10:10:29 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.

#1055971#22
Date:
2026-01-10 10:10:29 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.