107 Commits

Author SHA1 Message Date
Ervin Hegedus
fdfc2d5b21
fix: add ARGS to sanitize list only if it's not added yet 2025-05-19 10:53:50 +02:00
Ervin Hegedus
21d71bb603
Typo fix.
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-04-26 20:33:12 +02:00
Ervin Hegedus
bfe8047c04
Typo fix.
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-04-26 20:32:55 +02:00
Ervin Hegedus
c19f90195c
Typo fix.
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
2025-04-26 20:32:25 +02:00
Ervin Hegedus
0c8cc6e2cf
Finish XMLArgs processing 2025-04-07 14:01:46 +02:00
Ervin Hegedus
e7e11d972f
Merge pull request #3202 from marcstern/v2/pr/assert
Fixed assert() usage
2024-08-18 22:58:06 +02:00
Marc Stern
7c379c8d59 Fixed assert() usage:
- added some missing
 - removed some invalid
 - removed some that were not relevant in the context of the current function, when done in a called function
2024-07-31 11:17:36 +02:00
Marc Stern
cd65a44d64 Removed useless code 2024-07-22 16:53:58 +02:00
Marc Stern
649aea7288
Merge branch 'v2/master' into v2/mst/nullcheck2 2024-04-04 16:08:59 +02:00
Marc Stern
91da5872c1 Many null pointer checks 2024-02-20 13:15:52 +01:00
Ervin Hegedus
e04e8c4934
Revert "remove useless apr_pstrdup()" 2024-02-07 23:07:14 +01:00
Ervin Hegedus
aa6aa77ba9
Revert "Avoid some useless code and memory allocation in case no macro is present" 2024-02-07 23:03:48 +01:00
Ervin Hegedus
dd552d2434
Revert "Optimization: Avoid last loop and storing an empty value in case nothing after last %{..} macro" 2024-02-07 23:02:37 +01:00
Ervin Hegedus
dfce12b992
Revert "Implement msre_action_phase_validate()" 2024-02-07 23:02:10 +01:00
Marc Stern
dc0afb2d41
Merge pull request #2994 from marcstern/v2/mst/phase_validate
Implement msre_action_phase_validate()
2024-02-01 12:03:16 +01:00
Marc Stern
374608fc04
Merge pull request #3004 from marcstern/v2/mst/optim4
Optimization: Avoid last loop and storing an empty value in case nothing after last %{..} macro
2024-02-01 12:01:58 +01:00
Marc Stern
8556d3370f
Merge pull request #2992 from marcstern/v2/mst/expand_macros_optim
Avoid some useless code and memory allocation in case no macro is present
2024-02-01 11:57:17 +01:00
Marc Stern
029fdedc67 useless (and now incorrect) check 2023-10-26 15:55:57 +02:00
Marc Stern
31dae62f41 Don't store empty string before macro and empty macro result 2023-10-26 15:00:10 +02:00
Marc Stern
608cd1d09d Avoid last loop and storing an empty value in case nothing after last %{..} macro 2023-10-26 14:21:32 +02:00
Marc Stern
d644ebee0a Implemented msre_action_phase_validate() 2023-10-05 14:48:24 +02:00
Marc Stern
40c6f80ccf Avoid some useless code and memory allocation in case no macro is present 2023-10-03 16:50:12 +02:00
Marc Stern
eb532bd791 remove useless apr_pstrdup() 2023-08-11 16:34:04 +02:00
studersi
12cefbd70f Adds a sanity check before use ctl:ruleRemove(TargetById|TargetByMsg)
This commit closes the issue #2033.
2019-11-20 09:49:17 -03:00
Felipe Zimmerle
9ac9ff8223
Adds a sanity check before use ctl:ruleRemoveTargetByTag
This commit closes the issue #1353
2017-05-22 09:23:58 -03:00
Felipe Zimmerle
2de5175b9c
Fix collection naming problem
As reported on #1274 we had a problem while merging the collections.
Turns out that the collection name was wrong while passing the
information to setvar.
2017-05-19 10:29:30 -03:00
Felipe Zimmerle
c711808ef7 Cosmetic changes on #1031 to avoid compilation warning 2016-01-06 08:24:48 -03:00
Mario D. Santana
e3b3721ee3 Allow mod_proxy's "nocanon" behavior to be specified in proxy actions. 2016-01-06 08:23:52 -03:00
Chaim Sanders
2e09b8e542 Fixed comment incorrect comment 2014-12-29 18:03:19 -05:00
David Andrews
27dd513ab6 Flip allocations that happen during initialization (typically) over to use non-global apr memory pools. 2014-03-03 08:00:53 -08:00
Jiri Kukacka
62a6f228f8 Fixes for Parfait errors - mostly unhandled NULL pointer dereference and data type mismatch 2014-02-28 17:05:41 -08:00
Breno Silva
f955ba7e7b Added: severity action now supports strings 2013-06-03 19:49:45 -07:00
Breno Silva
aa18ec7f45 Updated copyright dates 2013-04-19 03:20:46 -04:00
Breno Silva
53d422e9de Change names of HMAC feature to HASH 2012-10-30 18:02:22 -04:00
Breno Silva
18429396ab Fixed bug when used ctl:ruleRemoveByTag 2012-10-22 08:07:07 -04:00
brenosilva
5c5107a860 MODSEC-297 2012-10-08 13:55:11 +00:00
gregwroblewski
2dbe4ab4f0 Second part of IIS/nginx merge into M2 trunk. 2012-08-20 20:31:06 +00:00
brenosilva
22b763257c Fixing missing code between branches 2012-08-09 19:02:10 +00:00
brenosilva
592ec392d1 Remove ctl:ruleUpdateTarget* and add ctl:ruleRemovetarget* 2012-08-02 18:04:53 +00:00
brenosilva
3bb931e188 Fix warnings 2012-06-17 13:32:07 +00:00
brenosilva
d88a24da1f fix rsub input parsing and add maturity, ver and accuracy actions 2012-06-04 15:29:51 +00:00
brenosilva
866cb6d6b4 Update trunk for 2.7 2012-05-10 23:18:39 +00:00
brenosilva
f6e53252b2 add collection timeout in the trunk 2011-10-20 11:54:36 +00:00
brenosilva
d4079971c6 MODSEC-160 2011-10-14 13:32:30 +00:00
brenosilva
d43c7e0bf5 MODSEC-132 2011-08-11 14:35:20 +00:00
brenosilva
6b7edc4d47 Fixes, code cleanups, improvements 2011-04-27 15:58:22 +00:00
brenosilva
2a8c8a7475 force process partial when use ctl to detectiononly 2011-04-04 15:10:49 +00:00
brenosilva
a75f2c0c6e Testing new approach to tag macro expansion 2011-04-03 21:55:51 +00:00
brenosilva
b64d28eb5a Testing new approach to tag macro expansion 2011-04-03 21:54:12 +00:00
brenosilva
6b7c138a98 Testing new approach to tag macro expansion 2011-04-03 21:22:16 +00:00