Tachiyomi-Extensions/src/ja/nicovideoseiga
Oo8Ez5ai 05addfb95e
NicovideoSeiga: Fix file type handling. (#10352)
When downloading NicovideoSeiga image, the saved file extension has become wrong type. This commit addresses the issue by fixing following errors.
- Images is determined the type by file header. The logic has wrongly assumed Byte.toInt() returns unsigned integer, but it actually returns signed value.
- The server returns application/octet-stream as Content-Type header. But the logic only worked when header is empty.
2022-01-05 07:11:25 -05:00
..
res Adding Nicovideo Seiga source (#9928) 2021-11-26 07:19:07 -05:00
src/eu/kanade/tachiyomi/extension/ja/nicovideoseiga NicovideoSeiga: Fix file type handling. (#10352) 2022-01-05 07:11:25 -05:00
AndroidManifest.xml Adding Nicovideo Seiga source (#9928) 2021-11-26 07:19:07 -05:00
build.gradle NicovideoSeiga: Fix file type handling. (#10352) 2022-01-05 07:11:25 -05:00