Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.3, 6.4
-
1fa0e86995 (qt/qtbase/dev) 1fa0e86995 (qt/tqtc-qtbase/dev) 8f1fc6c2c4 (qt/qtbase/6.4) 8f1fc6c2c4 (qt/tqtc-qtbase/6.4)
Description
If the header 'Accept-Encoding' is manually set, QT will not decompress the reply data before https://github.com/qt/qtbase/commit/6f25051536c1636688a0a0939196007aac34676d.
However, now if the zerocopy buffer is not used, the reply data will be decompressed (example link1). Otherwise, the reply data will not be decompressed (example link2).
Relevant code:
https://github.com/qt/qtbase/blob/3800bcf52604c7c4a5f1a9b05f04eb04a8917bcf/src/network/access/qnetworkreplyhttpimpl.cpp#L1321-L1328
https://github.com/qt/qtbase/blob/3800bcf52604c7c4a5f1a9b05f04eb04a8917bcf/src/network/access/qnetworkreplyhttpimpl.cpp#L309-L319
example link:
link1: https://subsplease.org/rss/?t&r=1080
link2: https://linuxtracker.org/rss_torrents.php?feed=dl&pid=00000000000000000000000000000000