mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-17 18:05:28 +03:00
Merge pull request #3231 from eduar-hte/remove-copies-transformations
Remove unnecessary heap allocated copies in Transformation actions
This commit is contained in:
@@ -19,6 +19,14 @@
|
||||
|
||||
#include "src/operators/operator.h"
|
||||
|
||||
|
||||
constexpr int UNICODE_ERROR_CHARACTERS_MISSING = -1;
|
||||
constexpr int UNICODE_ERROR_INVALID_ENCODING = -2;
|
||||
constexpr int UNICODE_ERROR_OVERLONG_CHARACTER = -3;
|
||||
constexpr int UNICODE_ERROR_RESTRICTED_CHARACTER = -4;
|
||||
constexpr int UNICODE_ERROR_DECODING_ERROR = -5;
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
namespace operators {
|
||||
|
||||
|
||||
@@ -22,13 +22,6 @@
|
||||
#include "src/operators/operator.h"
|
||||
|
||||
|
||||
#define UNICODE_ERROR_CHARACTERS_MISSING -1
|
||||
#define UNICODE_ERROR_INVALID_ENCODING -2
|
||||
#define UNICODE_ERROR_OVERLONG_CHARACTER -3
|
||||
#define UNICODE_ERROR_RESTRICTED_CHARACTER -4
|
||||
#define UNICODE_ERROR_DECODING_ERROR -5
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
namespace operators {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user