mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Using full path in the header inclusion
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/duration.h"
|
||||
#include "src/variables/duration.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_DURATION_H_
|
||||
#define SRC_VARIABLES_DURATION_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/env.h"
|
||||
#include "src/variables/env.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_ENV_H_
|
||||
#define SRC_VARIABLES_ENV_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/highest_severity.h"
|
||||
#include "src/variables/highest_severity.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_HIGHEST_SEVERITY_H_
|
||||
#define SRC_VARIABLES_HIGHEST_SEVERITY_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/modsec_build.h"
|
||||
#include "src/variables/modsec_build.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_MODSEC_BUILD_H_
|
||||
#define SRC_VARIABLES_MODSEC_BUILD_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/remote_user.h"
|
||||
#include "src/variables/remote_user.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "utils/base64.h"
|
||||
#include "src/utils/base64.h"
|
||||
|
||||
namespace modsecurity {
|
||||
namespace Variables {
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#ifndef SRC_VARIABLES_REMOTE_USER_H_
|
||||
#define SRC_VARIABLES_REMOTE_USER_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/rule.h"
|
||||
#include "src/variables/rule.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
@@ -44,7 +44,7 @@
|
||||
#include "src/actions/xmlns.h"
|
||||
#include "src/actions/log_data.h"
|
||||
#include "src/actions/msg.h"
|
||||
#include "utils/msc_string.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
|
||||
|
||||
using modsecurity::utils::String;
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#ifndef SRC_VARIABLES_RULE_H_
|
||||
#define SRC_VARIABLES_RULE_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/time.h"
|
||||
#include "src/variables/time.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#ifndef SRC_VARIABLES_TIME_H_
|
||||
#define SRC_VARIABLES_TIME_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/time_day.h"
|
||||
#include "src/variables/time_day.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_TIME_DAY_H_
|
||||
#define SRC_VARIABLES_TIME_DAY_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/time_epoch.h"
|
||||
#include "src/variables/time_epoch.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_TIME_EPOCH_H_
|
||||
#define SRC_VARIABLES_TIME_EPOCH_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/time_hour.h"
|
||||
#include "src/variables/time_hour.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_TIME_HOUR_H_
|
||||
#define SRC_VARIABLES_TIME_HOUR_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/time_min.h"
|
||||
#include "src/variables/time_min.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_TIME_MIN_H_
|
||||
#define SRC_VARIABLES_TIME_MIN_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/time_mon.h"
|
||||
#include "src/variables/time_mon.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_TIME_MON_H_
|
||||
#define SRC_VARIABLES_TIME_MON_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/time_sec.h"
|
||||
#include "src/variables/time_sec.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_TIME_SEC_H_
|
||||
#define SRC_VARIABLES_TIME_SEC_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/time_wday.h"
|
||||
#include "src/variables/time_wday.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_TIME_WDAY_H_
|
||||
#define SRC_VARIABLES_TIME_WDAY_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/time_year.h"
|
||||
#include "src/variables/time_year.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_TIME_YEAR_H_
|
||||
#define SRC_VARIABLES_TIME_YEAR_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/tx.h"
|
||||
#include "src/variables/tx.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#ifndef SRC_VARIABLES_TX_H_
|
||||
#define SRC_VARIABLES_TX_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
@@ -21,8 +21,8 @@
|
||||
#include <list>
|
||||
|
||||
#include "modsecurity/transaction.h"
|
||||
#include "variations/exclusion.h"
|
||||
#include "utils/msc_string.h"
|
||||
#include "src/variables/variations/exclusion.h"
|
||||
#include "src/utils/msc_string.h"
|
||||
|
||||
|
||||
using modsecurity::utils::String;
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/variations/count.h"
|
||||
#include "src/variables/variations/count.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
@@ -21,7 +21,7 @@
|
||||
#ifndef SRC_VARIABLES_VARIATIONS_COUNT_H_
|
||||
#define SRC_VARIABLES_VARIATIONS_COUNT_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/variations/exclusion.h"
|
||||
#include "src/variables/variations/exclusion.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#ifndef SRC_VARIABLES_VARIATIONS_EXCLUSION_H_
|
||||
#define SRC_VARIABLES_VARIATIONS_EXCLUSION_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include "variables/xml.h"
|
||||
#include "src/variables/xml.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#ifndef SRC_VARIABLES_XML_H_
|
||||
#define SRC_VARIABLES_XML_H_
|
||||
|
||||
#include "variables/variable.h"
|
||||
#include "src/variables/variable.h"
|
||||
#include "src/variables/xml.h"
|
||||
|
||||
namespace modsecurity {
|
||||
|
Reference in New Issue
Block a user