mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Added max_input_vars directive to prevent attacks based on hash collisions
This commit is contained in:
parent
0d1998e34f
commit
b8a08bf263
@ -163,6 +163,11 @@ UPGRADE NOTES - PHP 5.3
|
||||
xsl.security_prefs. This option will be marked as deprecated in 5.4 again.
|
||||
Use the method XsltProcess::setSecurityPrefs($options) there.
|
||||
|
||||
- the following new directives were added
|
||||
|
||||
- max_input_vars - specifies how many GET/POST/COOKIE input variables may be
|
||||
accepted. default value 1000.
|
||||
|
||||
=============
|
||||
5. Deprecated
|
||||
=============
|
||||
|
@ -457,6 +457,9 @@ max_input_time = 60
|
||||
; http://php.net/max-input-nesting-level
|
||||
;max_input_nesting_level = 64
|
||||
|
||||
; How many GET/POST/COOKIE input variables may be accepted
|
||||
; max_input_vars = 1000
|
||||
|
||||
; Maximum amount of memory a script may consume (128MB)
|
||||
; http://php.net/memory-limit
|
||||
memory_limit = 128M
|
||||
|
@ -457,6 +457,9 @@ max_input_time = 60
|
||||
; http://php.net/max-input-nesting-level
|
||||
;max_input_nesting_level = 64
|
||||
|
||||
; How many GET/POST/COOKIE input variables may be accepted
|
||||
; max_input_vars = 1000
|
||||
|
||||
; Maximum amount of memory a script may consume (128MB)
|
||||
; http://php.net/memory-limit
|
||||
memory_limit = 128M
|
||||
|
Loading…
Reference in New Issue
Block a user