Adds refCounter to actions

This commit is contained in:
Felipe Zimmerle
2016-11-08 18:14:34 -03:00
parent ad05c74c3f
commit 3ee7b24928
102 changed files with 126 additions and 105 deletions

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_BASE64_DECODE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_BASE64_DECODE_EXT_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_BASE64_ENCODE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_CMD_LINE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_COMPRESS_WHITESPACE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_CSS_DECODE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_ESCAPE_SEQ_DECODE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_HEX_DECODE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_HEX_ENCODE_H_

View File

@@ -16,7 +16,7 @@
#include <string>
#include <unordered_map>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#include "src/utils/string.h"

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_JS_DECODE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_LENGTH_H_

View File

@@ -20,7 +20,7 @@
#include "modsecurity/transaction.h"
#include "src/actions/transformations/transformation.h"
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
namespace modsecurity {
namespace actions {

View File

@@ -16,7 +16,7 @@
#include <string>
#include <unordered_map>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_LOWER_CASE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_MD5_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_NONE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_NORMALISE_PATH_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_NORMALISE_PATH_WIN_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_PARITY_EVEN_7BIT_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_PARITY_ODD_7BIT_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_PARITY_ZERO_7BIT_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REMOVE_COMMENTS_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REMOVE_COMMENTS_CHAR_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REMOVE_NULLS_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REMOVE_WHITESPACE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REPLACE_COMMENTS_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_REPLACE_NULLS_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_SHA1_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_SQL_HEX_DECODE_H_

View File

@@ -21,7 +21,7 @@
#include <string>
#include "modsecurity/transaction.h"
#include "src/actions/action.h"
#include "modsecurity/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"

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_TRANSFORMATION_H_
#define SRC_ACTIONS_TRANSFORMATIONS_TRANSFORMATION_H_

View File

@@ -24,7 +24,7 @@
#include "modsecurity/transaction.h"
#include "src/actions/transformations/transformation.h"
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
namespace modsecurity {
namespace actions {

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_TRIM_H_

View File

@@ -25,7 +25,7 @@
#include "modsecurity/transaction.h"
#include "src/actions/transformations/transformation.h"
#include "src/actions/transformations/trim.h"
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
namespace modsecurity {
namespace actions {

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#include "src/actions/transformations/trim.h"

View File

@@ -24,7 +24,7 @@
#include "modsecurity/transaction.h"
#include "src/actions/transformations/transformation.h"
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
namespace modsecurity {
namespace actions {

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#include "src/actions/transformations/trim.h"

View File

@@ -16,7 +16,7 @@
#include <string>
#include <unordered_map>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_URL_DECODE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_URL_DECODE_UNI_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_URL_ENCODE_H_

View File

@@ -15,7 +15,7 @@
#include <string>
#include "src/actions/action.h"
#include "modsecurity/actions/action.h"
#include "src/actions/transformations/transformation.h"
#ifndef SRC_ACTIONS_TRANSFORMATIONS_UTF8_TO_UNICODE_H_