tar.gz email attachments are mangled when downloading from office365.com
Categories
(Core :: Networking, defect, P3)
Tracking
()
People
(Reporter: RossBoylan, Unassigned)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
1.08 MB,
application/x-zip-compressed
|
Details |
Reporter | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Comment 2•7 years ago
|
||
Updated•6 years ago
|
Reporter | ||
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
I'm also getting this. Simple steps to reproduce are download
https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.12/src/hdf5-1.8.12.tar.gz
via firefox and via wget and compare. The first ten lines of hexdump -C
of each are
via FF:
00000000 1f 8b 08 00 00 00 00 00 00 03 6c bc 63 b0 b0 3d |..........l.c..=|
00000010 cc 2e ba 6c db b6 6d af 67 d9 b6 6d db b6 6d db |...l..m.g..m..m.|
00000020 b6 6d db b6 ed f3 7e 7b 9f 3d 67 ff 38 9d 3b 93 |.m....~{.=g.8.;.|
00000030 49 d2 de 33 e9 b4 69 ae 99 b4 f8 51 10 00 f5 24 |I..3..i....Q...$|
00000040 b1 8a 40 c0 d7 3c 3f 76 5b ed 89 3f 2d bf d4 e1 |..@..<?v[..?-...|
00000050 6d f0 eb cf 58 d4 0d c8 6e 5d bc 3c fb 9c ad 49 |m...X...n].<...I|
00000060 ee 6b 11 41 eb 36 75 51 c0 de 8d ff b4 b6 c7 0b |.k.A.6uQ........|
00000070 63 93 0f dd fd da fb 7e 4c c5 25 4b 7b b3 7b dd |c......~L.%K{.{.|
00000080 6c 1e 6c 15 80 bb 5a 4c 43 99 87 0e ec f9 28 b8 |l.l...ZLC.....(.|
00000090 02 fa 2e 5b b8 67 b5 ca 96 78 3b 1c f0 cf 23 43 |...[.g...x;...#C|
and via wget
00000000 1f 8b 08 00 b0 24 8e 52 02 03 ec 3c fd 6f db b8 |.....$.R...<.o..|
00000010 92 fd b5 fe 2b 88 b7 0f d8 f4 1a 2b b1 13 77 bb |....+......+..w.|
00000020 3d 3c e0 39 b6 93 78 d7 89 83 d8 6d af 8b 03 7c |=<.9..x....m...||
00000030 b2 44 5b dc c8 a2 8e 94 e2 78 7f b8 bf fd 66 48 |.D[......x....fH|
00000040 4a a6 be 9c be 77 6d f1 6e 51 03 bb b5 66 86 33 |J....wm.nQ...f.3|
00000050 c3 e1 70 3e 28 3a 81 bf ea b5 3b ce 5b a7 d3 3d |..p>(:....;.[..=|
00000060 b9 71 1f e8 8a 85 f4 c5 17 fe 9c c2 e7 cd f9 39 |.q.............9|
00000070 fc db eb 9e ab 7f 4f 3b 9d b3 33 05 87 0f c0 de |......O;..3.....|
00000080 bc e8 74 bb e7 67 e7 dd ce f9 4f 80 ef 9c 75 7b |..t..g....O...u{|
00000090 dd 17 e4 f4 c5 37 f8 a4 32 71 05 21 2f 68 cc 53 |.....7..2q.!/h.S|
My test was done on firefox developer edition 68.0b11
. Also I found this bug from
https://superuser.com/questions/162170/files-downloaded-with-firefox-are-often-corrupt
Comment 7•5 years ago
|
||
(In reply to Jon from comment #5)
I'm also getting this. Simple steps to reproduce are download
https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.12/src/hdf5-1.8.12.tar.gz
via firefox and via wget and compare. The first ten lines ofhexdump -C
of each arevia FF:
00000000 1f 8b 08 00 00 00 00 00 00 03 6c bc 63 b0 b0 3d |..........l.c..=| 00000010 cc 2e ba 6c db b6 6d af 67 d9 b6 6d db b6 6d db |...l..m.g..m..m.| 00000020 b6 6d db b6 ed f3 7e 7b 9f 3d 67 ff 38 9d 3b 93 |.m....~{.=g.8.;.| 00000030 49 d2 de 33 e9 b4 69 ae 99 b4 f8 51 10 00 f5 24 |I..3..i....Q...$| 00000040 b1 8a 40 c0 d7 3c 3f 76 5b ed 89 3f 2d bf d4 e1 |..@..<?v[..?-...| 00000050 6d f0 eb cf 58 d4 0d c8 6e 5d bc 3c fb 9c ad 49 |m...X...n].<...I| 00000060 ee 6b 11 41 eb 36 75 51 c0 de 8d ff b4 b6 c7 0b |.k.A.6uQ........| 00000070 63 93 0f dd fd da fb 7e 4c c5 25 4b 7b b3 7b dd |c......~L.%K{.{.| 00000080 6c 1e 6c 15 80 bb 5a 4c 43 99 87 0e ec f9 28 b8 |l.l...ZLC.....(.| 00000090 02 fa 2e 5b b8 67 b5 ca 96 78 3b 1c f0 cf 23 43 |...[.g...x;...#C|
and via wget
00000000 1f 8b 08 00 b0 24 8e 52 02 03 ec 3c fd 6f db b8 |.....$.R...<.o..| 00000010 92 fd b5 fe 2b 88 b7 0f d8 f4 1a 2b b1 13 77 bb |....+......+..w.| 00000020 3d 3c e0 39 b6 93 78 d7 89 83 d8 6d af 8b 03 7c |=<.9..x....m...|| 00000030 b2 44 5b dc c8 a2 8e 94 e2 78 7f b8 bf fd 66 48 |.D[......x....fH| 00000040 4a a6 be 9c be 77 6d f1 6e 51 03 bb b5 66 86 33 |J....wm.nQ...f.3| 00000050 c3 e1 70 3e 28 3a 81 bf ea b5 3b ce 5b a7 d3 3d |..p>(:....;.[..=| 00000060 b9 71 1f e8 8a 85 f4 c5 17 fe 9c c2 e7 cd f9 39 |.q.............9| 00000070 fc db eb 9e ab 7f 4f 3b 9d b3 33 05 87 0f c0 de |......O;..3.....| 00000080 bc e8 74 bb e7 67 e7 dd ce f9 4f 80 ef 9c 75 7b |..t..g....O...u{| 00000090 dd 17 e4 f4 c5 37 f8 a4 32 71 05 21 2f 68 cc 53 |.....7..2q.!/h.S|
I can exactly reproduce this by downloading the given URL, thank you Jon!
Comment 9•5 years ago
|
||
There is a hack introduced in bug 426273 for badly configured servers which return Content-Encoding: gzip as well as Content-Type: application/x-gzip when serving gz files. Unfortunately, in this case the headers are correct and the server returns tar.gz which is gzipped once again. So what happens here is that ClearBogusContentEncodingIfNeeded() clears out Content-Encoding header and we end up saving gzipped tar.gz on the disk.
Updated•2 years ago
|
Comment 10•1 year ago
|
||
I think this is already fixed.
Description
•