summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_config.h')
-rw-r--r--src/sp_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sp_config.h b/src/sp_config.h
index b44960f..979feda 100644
--- a/src/sp_config.h
+++ b/src/sp_config.h
@@ -53,6 +53,8 @@ typedef struct { bool enable; } sp_config_global_strict;
53 53
54typedef struct { bool enable; } sp_config_random; 54typedef struct { bool enable; } sp_config_random;
55 55
56typedef struct { bool enable; } sp_config_sloppy;
57
56typedef struct { bool enable; } sp_config_auto_cookie_secure; 58typedef struct { bool enable; } sp_config_auto_cookie_secure;
57 59
58typedef struct { bool enable; } sp_config_disable_xxe; 60typedef struct { bool enable; } sp_config_disable_xxe;
@@ -151,6 +153,7 @@ typedef struct {
151 153
152typedef struct { 154typedef struct {
153 sp_config_random *config_random; 155 sp_config_random *config_random;
156 sp_config_sloppy *config_sloppy;
154 sp_config_unserialize *config_unserialize; 157 sp_config_unserialize *config_unserialize;
155 sp_config_disabled_functions *config_disabled_functions; 158 sp_config_disabled_functions *config_disabled_functions;
156 sp_config_disabled_functions *config_disabled_functions_ret; 159 sp_config_disabled_functions *config_disabled_functions_ret;
@@ -192,6 +195,7 @@ typedef struct {
192#define SP_TOKEN_DISABLE_XXE ".disable_xxe" 195#define SP_TOKEN_DISABLE_XXE ".disable_xxe"
193#define SP_TOKEN_EVAL_BLACKLIST ".eval_blacklist" 196#define SP_TOKEN_EVAL_BLACKLIST ".eval_blacklist"
194#define SP_TOKEN_EVAL_WHITELIST ".eval_whitelist" 197#define SP_TOKEN_EVAL_WHITELIST ".eval_whitelist"
198#define SP_TOKEN_SLOPPY_COMPARISON ".sloppy_comparison"
195 199
196// common tokens 200// common tokens
197#define SP_TOKEN_ENABLE ".enable(" 201#define SP_TOKEN_ENABLE ".enable("