mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
More security-related (control) patches:
- Avoid displaying errors during startup, unless display_startup_errors is enabled. - Implemented post_size_max limit. Defaults to 8MB. - Implemented file_uploads on/off directive (defaults to on).
This commit is contained in:
parent
242139d5ac
commit
b7ecaacd07
10 changed files with 120 additions and 26 deletions
|
@ -64,7 +64,7 @@ typedef struct {
|
|||
char *query_string;
|
||||
char *post_data;
|
||||
char *cookie_data;
|
||||
uint content_length;
|
||||
long content_length;
|
||||
uint post_data_length;
|
||||
|
||||
char *path_translated;
|
||||
|
@ -101,6 +101,7 @@ typedef struct {
|
|||
char *default_mimetype;
|
||||
char *default_charset;
|
||||
HashTable *rfc1867_uploaded_files;
|
||||
long post_max_size;
|
||||
} sapi_globals_struct;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue