[4chan] detect files containing only null bytes (#7883)

This commit is contained in:
Mike Fährmann
2025-07-24 09:11:52 +02:00
parent b2a354f0d2
commit f39c8b125f
2 changed files with 22 additions and 0 deletions

View File

@@ -26,6 +26,16 @@ __tests__ = (
"#sha1_metadata": "2cadd32796492baca25f5060dc95e9f4e24a0ff2",
},
{
"#url" : "https://boards.4chan.org/wg/thread/8010591",
"#comment" : "file contents filled with null bytes (#7883)",
"#class" : _4chan._4chanThreadExtractor,
"#range" : "1",
"#log" : "File data consists of null bytes",
"#results" : "https://i.4cdn.org/wg/1694023485631944.jpg",
"#sha1_content": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
},
{
"#url" : "https://boards.4channel.org/po/",
"#category": ("", "4chan", "board"),