summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
authorBen Fuhrmannek2021-11-11 13:15:52 +0100
committerBen Fuhrmannek2021-11-11 13:15:52 +0100
commit713cb08b58d4e5dd5e7e80b1f82e27cbe52d4381 (patch)
treeb1bd945693215ca349180d44ae929f7f59427f09 /src/sp_config.h
parent9111fdf5e6332923a5faf9f8a7e6b428eb91795a (diff)
inverted logic. set xxe_protection.enable() instead of disable_xxe.disable()
Diffstat (limited to 'src/sp_config.h')
-rw-r--r--src/sp_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_config.h b/src/sp_config.h
index 262050b..a557105 100644
--- a/src/sp_config.h
+++ b/src/sp_config.h
@@ -57,7 +57,7 @@ typedef struct {
57 57
58typedef struct { 58typedef struct {
59 bool enable; 59 bool enable;
60} sp_config_disable_xxe; 60} sp_config_xxe_protection;
61 61
62typedef struct { 62typedef struct {
63 enum samesite_type { strict = 1, lax = 2 } samesite; 63 enum samesite_type { strict = 1, lax = 2 } samesite;
@@ -202,7 +202,7 @@ typedef struct {
202#define SP_TOKEN_READONLY_EXEC "readonly_exec" 202#define SP_TOKEN_READONLY_EXEC "readonly_exec"
203#define SP_TOKEN_UNSERIALIZE_HMAC "unserialize_hmac" 203#define SP_TOKEN_UNSERIALIZE_HMAC "unserialize_hmac"
204#define SP_TOKEN_UPLOAD_VALIDATION "upload_validation" 204#define SP_TOKEN_UPLOAD_VALIDATION "upload_validation"
205#define SP_TOKEN_DISABLE_XXE "disable_xxe" 205#define SP_TOKEN_XXE_PROTECTION "xxe_protection"
206#define SP_TOKEN_EVAL_BLACKLIST "eval_blacklist" 206#define SP_TOKEN_EVAL_BLACKLIST "eval_blacklist"
207#define SP_TOKEN_EVAL_WHITELIST "eval_whitelist" 207#define SP_TOKEN_EVAL_WHITELIST "eval_whitelist"
208#define SP_TOKEN_SLOPPY_COMPARISON "sloppy_comparison" 208#define SP_TOKEN_SLOPPY_COMPARISON "sloppy_comparison"