summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/source/config.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst
index b5bcad4..0186b4a 100644
--- a/doc/source/config.rst
+++ b/doc/source/config.rst
@@ -106,6 +106,19 @@ It can either be ``enabled`` or ``disabled``.
106 106
107.. _config_global: 107.. _config_global:
108 108
109Prevent sloppy comparison
110^^^^^^^^^^^^^^^^
111
112sloppy_comparison, disabled by default, will prevent php `type
113juggling <https://secure.php.net/manual/en/language.types.type-juggling.php>`_ (``==``) , preventing any bypass of a comparison.
114
115It can either be ``enabled`` or ``disabled``.
116
117::
118
119 sp.sloppy_comparison.enable();
120 sp.sloppy_comparison.disable();
121
109unserialize_hmac 122unserialize_hmac
110^^^^^^^^^^^^^^^^ 123^^^^^^^^^^^^^^^^
111 124