diff options
| author | jvoisin | 2022-03-20 18:20:45 +0100 |
|---|---|---|
| committer | jvoisin | 2022-03-20 18:20:45 +0100 |
| commit | 81dd7f2ef07af306fe83d7755cbac4529aa9fc8d (patch) | |
| tree | 32cc44c6231b30db5ac7b15699297863460784aa /config/default.rules | |
| parent | 83b01942dfc80474cc05e09aeef4b44307a7120b (diff) | |
| parent | c38df1077a6c1dfbca1baca049214d053e2e7684 (diff) | |
Merge remote-tracking branch 'sektioneins/master'
Diffstat (limited to 'config/default.rules')
| -rw-r--r-- | config/default.rules | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/default.rules b/config/default.rules index caa14c0..f6d8893 100644 --- a/config/default.rules +++ b/config/default.rules | |||
| @@ -6,8 +6,10 @@ | |||
| 6 | # Harden the PRNG | 6 | # Harden the PRNG |
| 7 | sp.harden_random.enable(); | 7 | sp.harden_random.enable(); |
| 8 | 8 | ||
| 9 | # Disabled XXE | 9 | # Enable XXE protection |
| 10 | sp.disable_xxe.enable(); | 10 | @condition extension_loaded("xml"); |
| 11 | sp.xxe_protection.enable(); | ||
| 12 | @end_condition; | ||
| 11 | 13 | ||
| 12 | # Global configuration variables | 14 | # Global configuration variables |
| 13 | # sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); | 15 | # sp.global.secret_key("YOU _DO_ NEED TO CHANGE THIS WITH SOME RANDOM CHARACTERS."); |
