mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-19 18:54:23 +03:00
Using full path in the header inclusion
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/base64_decode.h"
|
||||
#include "src/actions/transformations/base64_decode.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,8 +23,8 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "utils/base64.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/base64.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_BASE64_DECODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_BASE64_DECODE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/base64_decode_ext.h"
|
||||
#include "src/actions/transformations/base64_decode_ext.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,8 +23,8 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "utils/base64.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/base64.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_BASE64_DECODE_EXT_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_BASE64_DECODE_EXT_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/base64_encode.h"
|
||||
#include "src/actions/transformations/base64_encode.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,8 +23,8 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "utils/base64.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/base64.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_BASE64_ENCODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_BASE64_ENCODE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/cmd_line.h"
|
||||
#include "src/actions/transformations/cmd_line.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_CMD_LINE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_CMD_LINE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/compress_whitespace.h"
|
||||
#include "src/actions/transformations/compress_whitespace.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_COMPRESS_WHITESPACE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_COMPRESS_WHITESPACE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/css_decode.h"
|
||||
#include "src/actions/transformations/css_decode.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_CSS_DECODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_CSS_DECODE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/escape_seq_decode.h"
|
||||
#include "src/actions/transformations/escape_seq_decode.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_ESCAPE_SEQ_DECODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_ESCAPE_SEQ_DECODE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/hex_decode.h"
|
||||
#include "src/actions/transformations/hex_decode.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_HEX_DECODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_HEX_DECODE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/hex_encode.h"
|
||||
#include "src/actions/transformations/hex_encode.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <iterator>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_HEX_ENCODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_HEX_ENCODE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/html_entity_decode.h"
|
||||
#include "src/actions/transformations/html_entity_decode.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "utils/msc_string.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_HTML_ENTITY_DECODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_HTML_ENTITY_DECODE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/js_decode.h"
|
||||
#include "src/actions/transformations/js_decode.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_JS_DECODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_JS_DECODE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/length.h"
|
||||
#include "src/actions/transformations/length.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_LENGTH_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_LENGTH_H_
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/lower_case.h"
|
||||
#include "src/actions/transformations/lower_case.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
|
||||
namespace modsecurity {
|
||||
namespace actions {
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_LOWER_CASE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_LOWER_CASE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/md5.h"
|
||||
#include "src/actions/transformations/md5.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/md5.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_MD5_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_MD5_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/none.h"
|
||||
#include "src/actions/transformations/none.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_NONE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_NONE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/normalise_path.h"
|
||||
#include "src/actions/transformations/normalise_path.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_NORMALISE_PATH_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_NORMALISE_PATH_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/normalise_path_win.h"
|
||||
#include "src/actions/transformations/normalise_path_win.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "actions/transformations/normalise_path.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/normalise_path.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_NORMALISE_PATH_WIN_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_NORMALISE_PATH_WIN_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/parity_even_7bit.h"
|
||||
#include "src/actions/transformations/parity_even_7bit.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_PARITY_EVEN_7BIT_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_PARITY_EVEN_7BIT_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/parity_odd_7bit.h"
|
||||
#include "src/actions/transformations/parity_odd_7bit.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_PARITY_ODD_7BIT_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_PARITY_ODD_7BIT_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/parity_zero_7bit.h"
|
||||
#include "src/actions/transformations/parity_zero_7bit.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_PARITY_ZERO_7BIT_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_PARITY_ZERO_7BIT_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/remove_comments.h"
|
||||
#include "src/actions/transformations/remove_comments.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REMOVE_COMMENTS_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_REMOVE_COMMENTS_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/remove_comments_char.h"
|
||||
#include "src/actions/transformations/remove_comments_char.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REMOVE_COMMENTS_CHAR_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_REMOVE_COMMENTS_CHAR_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/remove_nulls.h"
|
||||
#include "src/actions/transformations/remove_nulls.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REMOVE_NULLS_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_REMOVE_NULLS_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/remove_whitespace.h"
|
||||
#include "src/actions/transformations/remove_whitespace.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#define NBSP 160 // non breaking space char
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REMOVE_WHITESPACE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_REMOVE_WHITESPACE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/replace_comments.h"
|
||||
#include "src/actions/transformations/replace_comments.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REPLACE_COMMENTS_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_REPLACE_COMMENTS_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/replace_nulls.h"
|
||||
#include "src/actions/transformations/replace_nulls.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REPLACE_NULLS_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_REPLACE_NULLS_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/sha1.h"
|
||||
#include "src/actions/transformations/sha1.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,8 +23,8 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "utils/sha1.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/sha1.h"
|
||||
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_SHA1_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_SHA1_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/sql_hex_decode.h"
|
||||
#include "src/actions/transformations/sql_hex_decode.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_SQL_HEX_DECODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_SQL_HEX_DECODE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
@@ -21,42 +21,42 @@
|
||||
#include <string>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/base64_decode_ext.h"
|
||||
#include "actions/transformations/base64_decode.h"
|
||||
#include "actions/transformations/base64_encode.h"
|
||||
#include "actions/transformations/cmd_line.h"
|
||||
#include "actions/transformations/compress_whitespace.h"
|
||||
#include "actions/transformations/css_decode.h"
|
||||
#include "actions/transformations/escape_seq_decode.h"
|
||||
#include "actions/transformations/hex_decode.h"
|
||||
#include "actions/transformations/hex_encode.h"
|
||||
#include "actions/transformations/html_entity_decode.h"
|
||||
#include "actions/transformations/js_decode.h"
|
||||
#include "actions/transformations/length.h"
|
||||
#include "actions/transformations/lower_case.h"
|
||||
#include "actions/transformations/md5.h"
|
||||
#include "actions/transformations/none.h"
|
||||
#include "actions/transformations/normalise_path.h"
|
||||
#include "actions/transformations/normalise_path_win.h"
|
||||
#include "actions/transformations/parity_even_7bit.h"
|
||||
#include "actions/transformations/parity_odd_7bit.h"
|
||||
#include "actions/transformations/parity_zero_7bit.h"
|
||||
#include "actions/transformations/remove_comments_char.h"
|
||||
#include "actions/transformations/remove_comments.h"
|
||||
#include "actions/transformations/remove_nulls.h"
|
||||
#include "actions/transformations/remove_whitespace.h"
|
||||
#include "actions/transformations/replace_comments.h"
|
||||
#include "actions/transformations/replace_nulls.h"
|
||||
#include "actions/transformations/sha1.h"
|
||||
#include "actions/transformations/sql_hex_decode.h"
|
||||
#include "actions/transformations/trim.h"
|
||||
#include "actions/transformations/trim_left.h"
|
||||
#include "actions/transformations/trim_right.h"
|
||||
#include "actions/transformations/url_decode.h"
|
||||
#include "actions/transformations/url_decode_uni.h"
|
||||
#include "actions/transformations/url_encode.h"
|
||||
#include "actions/transformations/utf8_to_unicode.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/base64_decode_ext.h"
|
||||
#include "src/actions/transformations/base64_decode.h"
|
||||
#include "src/actions/transformations/base64_encode.h"
|
||||
#include "src/actions/transformations/cmd_line.h"
|
||||
#include "src/actions/transformations/compress_whitespace.h"
|
||||
#include "src/actions/transformations/css_decode.h"
|
||||
#include "src/actions/transformations/escape_seq_decode.h"
|
||||
#include "src/actions/transformations/hex_decode.h"
|
||||
#include "src/actions/transformations/hex_encode.h"
|
||||
#include "src/actions/transformations/html_entity_decode.h"
|
||||
#include "src/actions/transformations/js_decode.h"
|
||||
#include "src/actions/transformations/length.h"
|
||||
#include "src/actions/transformations/lower_case.h"
|
||||
#include "src/actions/transformations/md5.h"
|
||||
#include "src/actions/transformations/none.h"
|
||||
#include "src/actions/transformations/normalise_path.h"
|
||||
#include "src/actions/transformations/normalise_path_win.h"
|
||||
#include "src/actions/transformations/parity_even_7bit.h"
|
||||
#include "src/actions/transformations/parity_odd_7bit.h"
|
||||
#include "src/actions/transformations/parity_zero_7bit.h"
|
||||
#include "src/actions/transformations/remove_comments_char.h"
|
||||
#include "src/actions/transformations/remove_comments.h"
|
||||
#include "src/actions/transformations/remove_nulls.h"
|
||||
#include "src/actions/transformations/remove_whitespace.h"
|
||||
#include "src/actions/transformations/replace_comments.h"
|
||||
#include "src/actions/transformations/replace_nulls.h"
|
||||
#include "src/actions/transformations/sha1.h"
|
||||
#include "src/actions/transformations/sql_hex_decode.h"
|
||||
#include "src/actions/transformations/trim.h"
|
||||
#include "src/actions/transformations/trim_left.h"
|
||||
#include "src/actions/transformations/trim_right.h"
|
||||
#include "src/actions/transformations/url_decode.h"
|
||||
#include "src/actions/transformations/url_decode_uni.h"
|
||||
#include "src/actions/transformations/url_encode.h"
|
||||
#include "src/actions/transformations/utf8_to_unicode.h"
|
||||
|
||||
#define IF_MATCH(b) \
|
||||
if (a.compare(2, std::strlen(#b), #b) == 0)
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "src/actions/action.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_TRANSFORMATION_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_TRANSFORMATION_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/trim.h"
|
||||
#include "src/actions/transformations/trim.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,8 +23,8 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
|
||||
namespace modsecurity {
|
||||
namespace actions {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_TRIM_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_TRIM_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/trim_left.h"
|
||||
#include "src/actions/transformations/trim_left.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,9 +23,9 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "actions/transformations/trim.h"
|
||||
#include "actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/trim.h"
|
||||
#include "src/actions/action.h"
|
||||
|
||||
namespace modsecurity {
|
||||
namespace actions {
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "actions/transformations/trim.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/trim.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_TRIM_LEFT_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_TRIM_LEFT_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/trim_right.h"
|
||||
#include "src/actions/transformations/trim_right.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,8 +23,8 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
|
||||
namespace modsecurity {
|
||||
namespace actions {
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "actions/transformations/trim.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/trim.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_TRIM_RIGHT_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_TRIM_RIGHT_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/url_decode.h"
|
||||
#include "src/actions/transformations/url_decode.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/decode.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_URL_DECODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_URL_DECODE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/url_decode_uni.h"
|
||||
#include "src/actions/transformations/url_decode_uni.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
#include "modsecurity/rules.h"
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_URL_DECODE_UNI_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_URL_DECODE_UNI_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/url_encode.h"
|
||||
#include "src/actions/transformations/url_encode.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <locale>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_URL_ENCODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_URL_ENCODE_H_
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "actions/transformations/utf8_to_unicode.h"
|
||||
#include "src/actions/transformations/utf8_to_unicode.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <cstring>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "actions/action.h"
|
||||
#include "actions/transformations/transformation.h"
|
||||
#include "src/actions/action.h"
|
||||
#include "src/actions/transformations/transformation.h"
|
||||
|
||||
#ifndef SRC_ACTIONS_TRANSFORMATIONS_UTF8_TO_UNICODE_H_
|
||||
#define SRC_ACTIONS_TRANSFORMATIONS_UTF8_TO_UNICODE_H_
|
||||
|
||||
Reference in New Issue
Block a user