Vsevolod Stakhov
b25488fe66
Merge pull request #2493 from negram/sa_body-regex
Sa body regex
5 years ago
Mikhail Galanin
5ec5204446
[Test] Added test for case "hello.\nagain"
5 years ago
Vsevolod Stakhov
14d216cf55
Merge pull request #2492 from negram/sa_body-regex
Sa body regex
5 years ago
Mikhail Galanin
b1543ef5c4
[Test] Forgotten config
5 years ago
Vsevolod Stakhov
53a1c412f2
Merge pull request #2491 from negram/fix-use-after-free
[Minor] Fixed error reported by ASAN: do not try using already pop-ed…
5 years ago
Mikhail Galanin
247bc030c0
[Test] Test for regexps in {sa_body} and urls with newlines
5 years ago
Mikhail Galanin
2d6d215df3
[Minor] Insert spaces only if text part is not suspected to be a link
sa_body requires newlines to be replaces with spaces.
However, some email clients highlight URL in triangular braces (<>) even if it's
broken by a newline. Let's just remove \n if current text part potentially
can be such URL.
5 years ago
Mikhail Galanin
8b26fafde4
[Minor] Fixed error reported by ASAN: do not try usins already pop-ed watcher
The watcher is pop-ed once session is over but reference to the structure remains in Lua and then being removed from lua dtor.
In this case we try to pop it second time. Bad.
5 years ago
Vsevolod Stakhov
5b571379f3
Merge pull request #2489 from moisseev/eslint
[Minor] Remove extra parentheses
5 years ago
Vsevolod Stakhov
9ee0561b55
Merge pull request #2488 from moisseev/fr
[Feature] Relax FORGED_RECIPIENTS
5 years ago
Vsevolod Stakhov
f5cb9bdda0
[Minor] Rework allowed types logic
5 years ago
Vsevolod Stakhov
5a317c9dc6
[Minor] Change function name to a more appropriate one
5 years ago
Vsevolod Stakhov
c3b4921c36
[Minor] Allow spaces and stars as separators in selectors
5 years ago
Vsevolod Stakhov
cf76bbb67a
[Minor] Fix some minor issues
5 years ago
Vsevolod Stakhov
623acd70ca
[Project] Add implicit conversion logic to selectors
5 years ago
Vsevolod Stakhov
19f2cad2f4
[Project] Rework selectors logic
5 years ago
Vsevolod Stakhov
5cd10b421b
[Minor] Fixes to regexp selectors
5 years ago
Alexander Moisseev
731af4c2a3
[Minor] Remove extra parentheses
5 years ago
Vsevolod Stakhov
954727f41c
[Minor] Allow to set custom delimiter for regexp selectors
5 years ago
Vsevolod Stakhov
aab027ac0e
[Feature] Cache selectors results in re runtime
5 years ago
Vsevolod Stakhov
34d45cd8f6
Merge pull request #2487 from moisseev/eslint
[Minor] JS code style changes
5 years ago
Alexander Moisseev
264c8b3d07
[Minor] Enforce consistent key-value spacing
5 years ago
Alexander Moisseev
54aaea9108
[Feature] Relax FORGED_RECIPIENTS
allow alias expansion and forwarding (Postfix)
5 years ago
Vsevolod Stakhov
52c90107be
[Minor] Fix selectors invocation
5 years ago
Vsevolod Stakhov
ca18e04ce0
[Minor] Add implicit header type for regexps
5 years ago
Vsevolod Stakhov
ce1dbec019
[Minor] Add more methods to lua selectors
5 years ago
Vsevolod Stakhov
3e12a51263
Merge pull request #2486 from heraklit256/rbl-blocklist
make sure blocklist.de-rule for Received IPs only triggers once
5 years ago
Alexander Moisseev
dff3186aa7
[Minor] Enforce return after callback
5 years ago
Alexander Moisseev
c73e007d78
[Minor] Drop Crockford's `switch` indentation
5 years ago
Alexander Moisseev
458642949a
[Minor] Initialize variables at declaration
5 years ago
Vsevolod Stakhov
1b602c3bb5
[Minor] Fix invocation
5 years ago
Alexander Moisseev
e5a73f26fd
[Minor] Require capitalized constructor names
5 years ago
Vsevolod Stakhov
6dd1c587ee
[Project] Implement selectors support in re_cache
5 years ago
Vsevolod Stakhov
8faa65961a
[Project] Implement selectors registration for regular expressions
5 years ago
Vsevolod Stakhov
4e3cace514
[Minor] Add method create_selector_closure
5 years ago
Vsevolod Stakhov
fed99b23a3
[Project] Add initial support for selectors in regexps
5 years ago
Vsevolod Stakhov
61a241b92c
[Minor] Rework multimap regexp rules registration
5 years ago
Vsevolod Stakhov
e0b5b3a770
[Minor] Fix glob flag set
5 years ago
Vsevolod Stakhov
96aec883a3
[Minor] Fix strlcpy_safe return value
5 years ago
Vsevolod Stakhov
4db25f6c3f
[Feature] Support multi flag in regexp and glob maps
5 years ago
Vsevolod Stakhov
4ce9dbece6
[Minor] Add glob_multi map type
5 years ago
heraklit256
306192c0dd
make sure blocklist.de-rule for Received IPs only triggers once
5 years ago
Vsevolod Stakhov
0d4212eb6c
[Fix] Deprecate task:inc_dns_req as it is redundant
5 years ago
Vsevolod Stakhov
bc7d894ac5
[Minor] More places where utext_close is required
5 years ago
Vsevolod Stakhov
be68b46a94
[Minor] Add take_n/drop_n processing functions
5 years ago
Vsevolod Stakhov
5c78058e6e
[Minor] Add generic list type for processors in selectors
5 years ago
Vsevolod Stakhov
5d079bd483
[Minor] Another out-of-boundary access fix
5 years ago
Vsevolod Stakhov
a270dd6e24
[Minor] Fix format string
5 years ago
Vsevolod Stakhov
f19f9f3acd
[Fix] Fix bug in processing of pcre regexps
5 years ago
Vsevolod Stakhov
8adb4632a9
[Minor] Another fix to lua_tcp watchers
5 years ago