summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBen Fuhrmannek2021-11-11 13:15:52 +0100
committerBen Fuhrmannek2021-11-11 13:15:52 +0100
commit713cb08b58d4e5dd5e7e80b1f82e27cbe52d4381 (patch)
treeb1bd945693215ca349180d44ae929f7f59427f09 /config
parent9111fdf5e6332923a5faf9f8a7e6b428eb91795a (diff)
inverted logic. set xxe_protection.enable() instead of disable_xxe.disable()
Diffstat (limited to 'config')
-rw-r--r--config/default.rules2
-rw-r--r--config/default_php8.rules2
-rw-r--r--config/suhosin.rules2
3 files changed, 3 insertions, 3 deletions
diff --git a/config/default.rules b/config/default.rules
index b964073..2de703b 100644
--- a/config/default.rules
+++ b/config/default.rules
@@ -7,7 +7,7 @@
7sp.harden_random.enable(); 7sp.harden_random.enable();
8 8
9# Disabled XXE 9# Disabled XXE
10sp.disable_xxe.enable(); 10sp.xxe_protection.enable();
11 11
12# Global configuration variables 12# Global configuration variables
13# sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); 13# sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS.");
diff --git a/config/default_php8.rules b/config/default_php8.rules
index de2da5c..1d16191 100644
--- a/config/default_php8.rules
+++ b/config/default_php8.rules
@@ -8,7 +8,7 @@
8sp.harden_random.enable(); 8sp.harden_random.enable();
9 9
10# Disabled XXE 10# Disabled XXE
11sp.disable_xxe.enable(); 11sp.xxe_protection.enable();
12 12
13# Global configuration variables 13# Global configuration variables
14# sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); 14# sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS.");
diff --git a/config/suhosin.rules b/config/suhosin.rules
index 4beb4c8..0bdc453 100644
--- a/config/suhosin.rules
+++ b/config/suhosin.rules
@@ -276,6 +276,6 @@ sp.harden_random.enable();
276sp.auto_cookie_secure.enable(); 276sp.auto_cookie_secure.enable();
277#sp.cookie.name("cookie1").samesite("lax"); 277#sp.cookie.name("cookie1").samesite("lax");
278#sp.cookie.name("cookie2").samesite("strict");; 278#sp.cookie.name("cookie2").samesite("strict");;
279sp.disable_xxe.enable(); 279sp.xxe_protection.enable();
280#sp.sloppy_comparison.enable(); 280#sp.sloppy_comparison.enable();
281 281