You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a HTTP binary response compressed with brotli, that is greater than 4096 bytes, the automatically decompressed body will be corrupted when using --compressed option.
For instance, with the attached jpg image compressed with brotli, if we try to decompress it automatically:
Given a HTTP binary response compressed with brotli, that is greater than 4096 bytes, the automatically decompressed body will be corrupted when using
--compressed
option.For instance, with the attached jpg image compressed with brotli, if we try to decompress it automatically:
We get a corrupted jpg file back.
There is a wrong assumption in the code that the HTTP body response is less than 4096 bytes:
hurl/packages/hurl/src/http/content_decoding.rs
Lines 101 to 104 in 16f501d
cat.jpg.br.zip
The text was updated successfully, but these errors were encountered: