1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 23:18:13 +02:00
Commit Graph

215 Commits

Author SHA1 Message Date
Pierrick Charron 824726073b Delete empty test files (old MQ tests) 2011-07-22 12:12:05 +00:00
Pierre Joye 45420bb669 - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4 2011-07-22 11:56:20 +00:00
Felipe Pena 12cc948688 - Fixed tests 2011-06-24 19:23:25 +00:00
Gustavo André dos Santos Lopes 356b619487 - Fixed test to work in systems with different line endings. 2011-02-19 00:48:48 +00:00
Gustavo André dos Santos Lopes 6654a4ade5 - Added enable_post_data_reading ini option to allow inhibiting POST data consumption. 2010-12-09 20:35:59 +00:00
Dmitry Stogov 755c2cd0d8 Removed compile time dependency from ext/mbstring 2010-12-08 11:27:34 +00:00
Gustavo André dos Santos Lopes a31f379367 - Reversed implementation of FR #44164, pending further consideration.
See rev #304903.
2010-11-18 04:09:02 +00:00
Jani Taskinen f6fcf2e3a4 - Fix test: register_globals is gone 2010-11-17 15:00:51 +00:00
Felipe Pena 5d2e201c3d - Fixed typo (reported by eyal.t at zend dot com) 2010-11-17 14:49:26 +00:00
Felipe Pena a4fb1ff6a5 - Fixed typo (reported by eyal.t at zend dot com) 2010-11-17 14:49:26 +00:00
Patrick Allaert 817776d1b9 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Patrick Allaert e2e76d40e3 - Fixed tests not passing under windows because of the directory separator
difference (thanks Eyal Teutsch for reporting)
2010-11-08 09:29:15 +00:00
Gustavo André dos Santos Lopes ee80871a15 - Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
type is application/x-www-form-urlencoded or is not registered with PHP).
2010-10-27 14:56:51 +00:00
Gustavo André dos Santos Lopes da400e7500 - Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
type is application/x-www-form-urlencoded or is not registered with PHP).
2010-10-27 14:56:51 +00:00
Gustavo André dos Santos Lopes 0086bc8a96 - Implemented request #44164, zlib.output_compression is now implicitly
disabled when the header "Content-length" is set.
#One could argue that any output handler could change the size of the
#response, so this exception for zlib.output_compression is an
#inconsistency. However, zlib.output_compression is presented as a
#performance setting, whose value should have no effect on the
#correctness of the scripts. This was not the case. Setting the
#header "content-length" and enabling zlib.output_compression was
#a recipe for infringing section 4.4 of RFC 2616.
2010-10-26 02:16:21 +00:00
Gustavo André dos Santos Lopes 1f191e4d2b - Implemented request #44164, zlib.output_compression is now implicitly
disabled when the header "Content-length" is set.
#One could argue that any output handler could change the size of the
#response, so this exception for zlib.output_compression is an
#inconsistency. However, zlib.output_compression is presented as a
#performance setting, whose value should have no effect on the
#correctness of the scripts. This was not the case. Setting the
#header "content-length" and enabling zlib.output_compression was
#a recipe for infringing section 4.4 of RFC 2616.
2010-10-26 02:16:21 +00:00
Gustavo André dos Santos Lopes 817c28c867 - Implemented FR #50692, not uploaded files don't count towards
max_file_uploads limit.
- As a side improvement, temporary files are not opened for
  empty uploads and, in debug mode, 0-length uploads.
2010-10-04 01:27:33 +00:00
Gustavo André dos Santos Lopes e1aa908468 - Implemented FR #50692, not uploaded files don't count towards
max_file_uploads limit.
- As a side improvement, temporary files are not opened for
  empty uploads and, in debug mode, 0-length uploads.
2010-10-04 01:27:33 +00:00
Kalle Sommer Nielsen 8deefa8780 Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED (Fixes #52570)
# Trunk patch will follow shortly
2010-08-11 21:12:18 +00:00
Christopher Jones c5a068e025 Errors using reserved words as methods 2010-05-12 21:34:32 +00:00
Christopher Jones ec93c50c3f Errors using reserved words as methods 2010-05-12 21:34:32 +00:00
Kalle Sommer Nielsen febee11285 Removed register_globals 2010-04-21 01:27:22 +00:00
Jani Taskinen 35a4d5831b Fix test 2009-12-11 10:55:56 +00:00
Dmitry Stogov 7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Zoe Slattery 6a22ec3eda More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery 1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Zoe Slattery d09ab2ab42 Removing unnecessary SKIPIF sections 2009-07-18 13:46:08 +00:00
Kalle Sommer Nielsen 5a6d3cc42b Added E_DEPRECATED startup notice (5.3 only) 2009-05-04 21:18:22 +00:00
Scott MacVicar d8edbd2729 Add test for the recent magic_quotes_gpc regression. 2008-12-09 01:47:57 +00:00
Hannes Magnusson 5668f32b68 MFH: Improve test and fix skipif 2008-10-27 14:25:33 +00:00
Felipe Pena 8502d0b7a6 - Fixed test 2008-10-26 23:00:35 +00:00
Arnaud Le Blanc c98e28795f Fixed #46313 (Magic quotes broke $_FILES)
# magic_quotes_gpc was disabled during registration of $_FILES["x"]["tmp_name"]
# and $GLOBALS["x"] (which is tmp_name with register_globals enabled). This
# caused "x" to not be escaped so there was 2 different keys for the same file
# in $_FILES, one with tmp_name and the other without.
# All other variables (name, size, etc) are registered with magic_quotes_gpc
# untouched, both in $_FILES and $GLOBALS and I did not found a reason for
# disabling it for tmp_name.
2008-10-20 17:09:10 +00:00
Arnaud Le Blanc 49abf21fea MFH: Fix test 2008-09-10 11:12:25 +00:00
Arnaud Le Blanc 0dac02dac2 MFH: Added tests for rfc1867 post handler 2008-09-08 09:25:07 +00:00
Jani Taskinen 9c3cc1f061 MFH:fix test 2008-08-14 21:54:01 +00:00
Ilia Alshanetsky 59ba4fcc96 Added missing INI handler 2008-05-18 14:35:13 +00:00
Ilia Alshanetsky 1300527db5 Fixed test 2008-01-10 01:41:25 +00:00
Antony Dovgal 0b157a6f84 enable display_startup_errors, fix test 2007-06-05 10:59:25 +00:00
Hannes Magnusson d1b9c6e62e fix test 2007-06-03 23:40:01 +00:00
foobar f26145fa8c MFH:- Improved the error message for exceeding max_input_nesting_level. 2007-06-03 16:54:06 +00:00
Ilia Alshanetsky a8be5f419d Improved fix for MOPB-02-2007 2007-06-03 16:19:14 +00:00
Ilia Alshanetsky 420352d8b5 Register RAW_POST_DATA even when always_populate_raw_post_data is off in
instances where content type is not known
2007-05-07 23:27:59 +00:00
Ilia Alshanetsky 636806a869 Added HTTP_RAW_POST_DATA test for instances where post length exceeds
post_max_size.
2007-05-06 16:30:09 +00:00
Ilia Alshanetsky 468dc98961 Added $HTTP_RAW_POST_DATA test 2007-05-06 16:26:11 +00:00
Antony Dovgal 18edb61440 fix test 2006-12-12 22:33:26 +00:00
Hannes Magnusson 3d5fec9cb5 MFH: new cookie tests 2006-12-09 15:58:09 +00:00
Antony Dovgal ab9429900a fix test 2006-05-19 10:57:48 +00:00
Antony Dovgal 1f02fad528 fix test 2006-05-16 22:59:32 +00:00
Pierre Joye 1192667679 - add test for multipart POST
- also first example of the POST_RAW section
2006-05-03 21:35:26 +00:00
Antony Dovgal 43db0fce03 more POST+array tests 2006-05-03 19:02:12 +00:00