mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Add missing feature: t:uppercase transformation
This commit is contained in:
committed by
Felipe Zimmerle
parent
9d70345d3d
commit
37868d1534
@@ -67,6 +67,7 @@ class Driver;
|
||||
#include "src/actions/transformations/none.h"
|
||||
#include "src/actions/transformations/url_decode.h"
|
||||
#include "src/actions/transformations/lower_case.h"
|
||||
#include "src/actions/transformations/upper_case.h"
|
||||
#include "src/actions/transformations/hex_decode.h"
|
||||
#include "src/actions/transformations/url_encode.h"
|
||||
#include "src/actions/transformations/js_decode.h"
|
||||
@@ -519,6 +520,7 @@ using modsecurity::operators::Operator;
|
||||
ACTION_TRANSFORMATION_SHA1 "ACTION_TRANSFORMATION_SHA1"
|
||||
ACTION_TRANSFORMATION_SQL_HEX_DECODE "ACTION_TRANSFORMATION_SQL_HEX_DECODE"
|
||||
ACTION_TRANSFORMATION_TRIM "ACTION_TRANSFORMATION_TRIM"
|
||||
ACTION_TRANSFORMATION_UPPERCASE "ACTION_TRANSFORMATION_UPPERCASE"
|
||||
ACTION_TRANSFORMATION_URL_DECODE "ACTION_TRANSFORMATION_URL_DECODE"
|
||||
ACTION_TRANSFORMATION_URL_DECODE_UNI "ACTION_TRANSFORMATION_URL_DECODE_UNI"
|
||||
ACTION_TRANSFORMATION_UTF8_TO_UNICODE "ACTION_TRANSFORMATION_UTF8_TO_UNICODE"
|
||||
@@ -2278,6 +2280,10 @@ act:
|
||||
{
|
||||
ACTION_CONTAINER($$, new actions::transformations::LowerCase($1));
|
||||
}
|
||||
| ACTION_TRANSFORMATION_UPPERCASE
|
||||
{
|
||||
ACTION_CONTAINER($$, new actions::transformations::UpperCase($1));
|
||||
}
|
||||
| ACTION_TRANSFORMATION_URL_DECODE_UNI
|
||||
{
|
||||
ACTION_CONTAINER($$, new actions::transformations::UrlDecodeUni($1));
|
||||
|
Reference in New Issue
Block a user