local.report-gz-as-application-gzip.patch 575 B

12345678910111213141516
  1. Description: Report gz as application/gzip
  2. Author: Daniel Baumann <mail@daniel-baumann.ch>
  3. Bug-Debian: https://bugs.debian.org/688886
  4. Last-Update: 2015-09-18
  5. --- a/magic/Magdir/compress
  6. +++ b/magic/Magdir/compress
  7. @@ -21,7 +21,7 @@
  8. # * Produce shorter output - notably, only report compression methods
  9. # other than 8 ("deflate", the only method defined in RFC 1952).
  10. 0 string \037\213 gzip compressed data
  11. -!:mime application/x-gzip
  12. +!:mime application/gzip
  13. !:strength * 2
  14. >2 byte <8 \b, reserved method
  15. >2 byte >8 \b, unknown method