summaryrefslogtreecommitdiffstats
path: root/lualib/lua_magic/heuristics.lua
Commit message (Expand)AuthorAgeFilesLines
* [Minor] Reformat all Lua code, no functional changesVsevolod Stakhov2023-08-071-83/+92
* [Minor] Lua_magic: Try to reduce fp rate for html heuristicVsevolod Stakhov2023-07-021-2/+2
* [Minor] Update my email and the copyright yearVsevolod Stakhov2022-03-251-1/+1
* [Minor] Fix detection for some csv casesVsevolod Stakhov2022-03-131-0/+6
* [Feature] Lua_magic: Add a sane CSV heuristicVsevolod Stakhov2021-12-031-1/+65
* [Minor] Lua_magic: Add another spammy JS patternVsevolod Stakhov2021-08-241-0/+1
* [Minor] Lua_magic: Fix detection for the parts with file namesVsevolod Stakhov2021-08-161-4/+8
* [Minor] Lua_magic: Slight re tuneVsevolod Stakhov2021-08-131-1/+1
* [Minor] Lua_magic: Fix xml detectionVsevolod Stakhov2021-08-131-9/+12
* [Minor] Lua_magic: Do not treat xml as htmlVsevolod Stakhov2021-08-131-1/+0
* [Minor] Escape regexp quantifiersVsevolod Stakhov2021-07-171-3/+3
* [Minor] Do not treat ASiC files as pure archivesVsevolod Stakhov2021-06-171-0/+1
* [Minor] Add ASICE format supportVsevolod Stakhov2021-06-171-1/+2
* [Minor] Another try to fix the logic around 8bit charsets handlingVsevolod Stakhov2021-05-171-3/+0
* [Minor] Fix non-utf inputs checkingVsevolod Stakhov2021-05-171-0/+4
* [Minor] Try to fix another boundary issueVsevolod Stakhov2021-05-071-1/+1
* [Minor] Sigh, another condition fixVsevolod Stakhov2021-05-061-3/+3
* [Minor] Fix check conditionVsevolod Stakhov2021-05-061-1/+1
* [Minor] Lua_magic: Return utf8 check as it is useful for many casesVsevolod Stakhov2021-04-221-0/+15
* [Minor] Lua_magic: Really add an exclusion...Vsevolod Stakhov2021-04-221-3/+3
* [Minor] Lua_magic: Make an exclusion for message partsVsevolod Stakhov2021-04-221-1/+1
* [Rework] Lua_magic: Try to detect text parts with 8bit characters for non-utf...Vsevolod Stakhov2021-04-221-25/+31
* [Minor] Lua_magic: Minor changesVsevolod Stakhov2021-01-041-2/+5
* [Minor] Magic: try avoid false positive exe detectionAndrew Lewis2021-01-041-0/+18
* [Minor] Lua_magic: Use larger span to look for text patternsVsevolod Stakhov2020-12-031-3/+3
* [Minor] Lua_magic: Do not treat by default non-text part as textVsevolod Stakhov2020-11-201-0/+5
* [Minor] rspamd_text:byte() metamethodAndrew Lewis2020-11-161-1/+1
* [Minor] Lua_magic: Improve html detection heuristicVsevolod Stakhov2020-10-211-0/+7
* [Minor] Lua_magic: Improve html patternsVsevolod Stakhov2020-09-251-9/+10
* [Minor] Improve lua_magic HTML content type checkAnton Yuzhaninov2020-08-201-2/+2
* [Minor] Do not autodetect html parts as text partsVsevolod Stakhov2020-07-161-0/+5
* [Minor] Add sanity checkVsevolod Stakhov2020-06-161-21/+23
* [Minor] Improve pdf magic detectionVsevolod Stakhov2020-05-111-4/+19
* [Minor] Add limit for number of files processed in archivesVsevolod Stakhov2020-04-281-1/+1
* [Fix] Disable text detection heuristics for encrypted partsVsevolod Stakhov2020-04-281-0/+13
* [Minor] Lua_magic: Add ical and vcard supportVsevolod Stakhov2019-11-211-20/+26
* [Minor] Lua_magic: Fix csv detectionVsevolod Stakhov2019-10-071-9/+13
* [Minor] Fix text parts heuristicVsevolod Stakhov2019-10-071-8/+32
* [Minor] Be more strict when checking for text partsVsevolod Stakhov2019-10-071-1/+1
* [Project] Lua_magic: Add images patternsVsevolod Stakhov2019-09-241-9/+0
* [Minor] Lua_magic: Add types for .jar and for .apkVsevolod Stakhov2019-09-241-1/+4
* [Minor] Lua_magic: Improve hyperscan usageVsevolod Stakhov2019-09-241-1/+4
* [Minor] Fix tests and jpeg caseVsevolod Stakhov2019-09-211-4/+4
* [Project] Lua_magic: Add heuristics for text partsVsevolod Stakhov2019-09-091-13/+113
* [Project] Lua_magic: Add more typesVsevolod Stakhov2019-09-091-0/+3
* [Project] Lua_magic: Simplify oasis files detection to a trie matchVsevolod Stakhov2019-09-091-30/+35
* [Project] Lua_magic: Some rework in detectionVsevolod Stakhov2019-09-091-37/+45
* [Project] Lua_magic: Add Oasis documents detectionVsevolod Stakhov2019-09-081-0/+53
* [Project] Lua_magic: Add heuristics for Office 2007+Vsevolod Stakhov2019-09-081-3/+35
* [Project] Lua_magic: Add mime parts detection functionVsevolod Stakhov2019-09-071-0/+26