diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/source/config.rst | 13 |
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 | ||
| 109 | Prevent sloppy comparison | ||
| 110 | ^^^^^^^^^^^^^^^^ | ||
| 111 | |||
| 112 | sloppy_comparison, disabled by default, will prevent php `type | ||
| 113 | juggling <https://secure.php.net/manual/en/language.types.type-juggling.php>`_ (``==``) , preventing any bypass of a comparison. | ||
| 114 | |||
| 115 | It can either be ``enabled`` or ``disabled``. | ||
| 116 | |||
| 117 | :: | ||
| 118 | |||
| 119 | sp.sloppy_comparison.enable(); | ||
| 120 | sp.sloppy_comparison.disable(); | ||
| 121 | |||
| 109 | unserialize_hmac | 122 | unserialize_hmac |
| 110 | ^^^^^^^^^^^^^^^^ | 123 | ^^^^^^^^^^^^^^^^ |
| 111 | 124 | ||
