Commit Graph

5732 Commits

Author SHA1 Message Date
Arnaud Le Blanc
5eb7ed7316 Allow urlencode()d filer names in php://filter 2008-08-02 06:35:41 +00:00
Felipe Pena
e304515ddb - MFH: Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:46:07 +00:00
Johannes Schlüter
b9f7b21ec1 MFH (DOC] Add array_replace/array_replace_recursive (Mett Wilmas) 2008-07-31 20:18:17 +00:00
Olivier Hill
d247a23188 Fix regression issue 2008-07-31 14:20:40 +00:00
Pierre Joye
acd17a85dc - MFH: missing in the previous crypt commit (shutdown frees the locking mechanism) 2008-07-29 17:28:41 +00:00
Arnaud Le Blanc
738346fd92 MFH: Fixed previous fix 2008-07-29 13:57:43 +00:00
Scott MacVicar
e30b104148 Fix build where __const is already defined like OS X. 2008-07-29 01:20:28 +00:00
Arnaud Le Blanc
0f9026daf9 MFH: When automatically redirecting an HTTP request, use the GET method when the
original method was not HEAD or GET (fixes #45540)
#
# The RFC says that in case of 3xx code, "The action required MAY be
# carried out [...] *only if the method used in the second request is GET or
# HEAD*".
#
# This may not break anything as actually POST requests replying
# with a Location header never worked as the redirecting request was sent using
# the POST method, but without Entity-Body (and without Content-Length header,
# which caused the server to reply with a "411 Length Required" or to treat
# the request as GET).
#
2008-07-28 19:08:02 +00:00
Elizabeth Marie Smith
49aa0feaae Secure versions of string functions don't exist for VC6 2008-07-28 16:43:51 +00:00
Pierre Joye
d4b0beb322 - MFH: vc6 is picky about brackets when used with a defined type... 2008-07-28 16:33:17 +00:00
Pierre Joye
1e820eca02 -MFH:
- #45430, windows implementation of crypt is not TS
 - add Blowfish (using implementation from Solar Designer <solar at openwal dot com>) and extended DES support
 - Make crypt features portable:
   - if no crypt_r, php's implemetation is used (all algo and TS), php can't be used with unsafe crypt anymore
   - if one algo is missing, php's implemetation is used
   - Windows always use php's implementation
 - removed old code in windows/
2008-07-28 11:50:35 +00:00
Jani Taskinen
0bc9577588 update credits 2008-07-26 22:19:41 +00:00
Dmitry Stogov
af05ce0af6 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:04 +00:00
Jani Taskinen
bdf5b7bdba Update credits 2008-07-25 09:13:24 +00:00
Michael Wallner
15da8367c4 - Changed HTTP stream wrapper to accept any code between and including
200 to 399 as successful. (patch by Noah Fontes)
2008-07-25 08:27:37 +00:00
Felipe Pena
0fbe6a0c14 - MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:52:24 +00:00
Felipe Pena
44f1ef210d - MFH: New parameter parsing API 2008-07-24 12:49:11 +00:00
Dmitry Stogov
feb8580166 LSB parent/self forwarding 2008-07-24 09:42:18 +00:00
Felipe Pena
a1ce847cd5 - MFH: Improved parameter handling 2008-07-24 03:07:22 +00:00
Lars Strojny
6579ba27a6 array_intersect_ukey tests by Sanjay Mantoor 2008-07-23 20:37:23 +00:00
Felipe Pena
0bbed66ede - MFH: New parameter parsing API 2008-07-23 19:34:35 +00:00
Felipe Pena
a2cc7ec96a - MFH: Fixed bug #45605 (array_uintersect_assoc gives incorrect error message) 2008-07-23 16:28:46 +00:00
Jani Taskinen
12c066136b MFH: Fix test (bug #44985) 2008-07-23 14:15:19 +00:00
Antony Dovgal
28a22396d4 MFH: invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:25:14 +00:00
Antony Dovgal
16ace1828e fix test 2008-07-23 10:26:45 +00:00
Antony Dovgal
c4b8d7149f fix test 2008-07-23 09:29:21 +00:00
Arnaud Le Blanc
f11ae4d440 MFH: Fix test: use canonical name to avoid problems with domain search path 2008-07-23 08:27:17 +00:00
Scott MacVicar
8d3bfaa01f Fix windows build error. 2008-07-22 21:53:53 +00:00
Scott MacVicar
d8d69652dd MFH: Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:21:16 +00:00
Felipe Pena
fdfbfb96a1 - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:09:24 +00:00
Scott MacVicar
6c48a01f40 MFH: Fix integer oveflow in strrpos() 2008-07-22 01:10:58 +00:00
Jani Taskinen
1ca8daaafb MFH: sync 2008-07-21 16:16:30 +00:00
Hannes Magnusson
ee40f557a7 Fix tests (patch by Lars) 2008-07-21 12:23:38 +00:00
Jani Taskinen
89935d6f7e - Forward compatibility.
# @DOC@, [DOC], *DOC*: Added FILE_TEXT and FILE_BINARY constants for forward compatibility.
2008-07-21 11:46:18 +00:00
Kalle Sommer Nielsen
769cb023fb MFH 2008-07-21 11:09:36 +00:00
Kalle Sommer Nielsen
f204fdddb1 Fix test on Windows 2008-07-21 09:32:56 +00:00
Dmitry Stogov
331a4e46a4 Fixed test 2008-07-20 16:20:02 +00:00
Felipe Pena
b22f47ee30 - Added arginfo 2008-07-20 14:28:41 +00:00
Felipe Pena
c3453925c5 - Deprecate ticks 2008-07-17 19:29:34 +00:00
Rui Hirokawa
db88da985e fixed win32 build when ext/mbstring is enabled. 2008-07-17 14:10:53 +00:00
Dmitry Stogov
833a2295d1 Support for closures 2008-07-17 09:53:42 +00:00
Scott MacVicar
a9d60c014b MFH: Fix bug when < is used within attribute. 2008-07-15 14:46:12 +00:00
Felix De Vliegher
0adb8c0b10 Tests for strpbrk(), testfest.php.net task #91 and #92. 2008-07-15 11:14:42 +00:00
Josie Messa
be5633612a - Tests from TestFest
- Have slightly modified similar_text_error.phpt from original file
2008-07-14 15:27:19 +00:00
Jani Taskinen
4db24954fb - Update credits: Whenever some extension is removed/added, remember to run scripts/dev/credits and commit ext/standards/credits* !! 2008-07-14 08:57:10 +00:00
Felipe Pena
8cbd7cc7b9 - MFB: Fixed bug #45449 (filesize() regression using ftp wrapper) (patch by crrodriguez at suse dot de) 2008-07-11 18:33:35 +00:00
Felipe Pena
8ea5ae6c9a - MFB: Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:25:38 +00:00
Antony Dovgal
cf7e15c3a0 MFH: manage references of stream context properly 2008-07-11 10:25:15 +00:00
Antony Dovgal
46f41aded1 MFH 2008-07-11 09:17:10 +00:00
Antony Dovgal
0c8d3ebe9c MFH 2008-07-11 09:15:44 +00:00
David Soria Parra
f41c78ddbb PHP Testfest. Tests done by Felix De Vliegher 2008-07-10 23:46:49 +00:00
Etienne Kneuss
8ceb0b6fd3 MFH: Fix resolution rule of count vs. handler 2008-07-09 21:29:52 +00:00
Antony Dovgal
8eeaf9df95 capitalize multibyte support 2008-07-08 08:37:56 +00:00
Jani Taskinen
4345a82661 - Update credits 2008-07-07 10:36:50 +00:00
Steph Fox
005c6c8f04 - Don't do stuff twice over
@Jani: pick up mail!
2008-07-07 01:25:53 +00:00
Olivier Hill
e360ff7476 New parameter parsing API 2008-07-03 20:19:26 +00:00
Antony Dovgal
b691365e7b size_t -> int 2008-07-03 14:00:20 +00:00
Antony Dovgal
bd07572494 fix test 2008-07-03 09:46:10 +00:00
Antony Dovgal
9ed8580b54 fix test 2008-07-03 09:22:17 +00:00
Antony Dovgal
449979cbd0 add a line to phpinfo() to indicate whether multibyte support is On or Off 2008-07-03 08:06:55 +00:00
Antony Dovgal
63d6d67aa7 fix tests 2008-07-03 07:41:58 +00:00
Felipe Pena
2a35fb373f - Removed unused variables 2008-07-01 11:27:05 +00:00
Dmitry Stogov
f7938051d4 Use new parameter parsing API 2008-07-01 10:01:09 +00:00
Antony Dovgal
c125461de1 "l" is long, that's why it is "l", not "i" 2008-06-30 10:39:34 +00:00
Antony Dovgal
b763c47e4e int -> long 2008-06-30 10:10:44 +00:00
Felipe Pena
d7f5edd988 - Fixed tests 2008-06-26 11:15:48 +00:00
Felix De Vliegher
4f7961b31a Tests for lchown(), testfest.php.net task number 129. 2008-06-26 09:10:54 +00:00
Olivier Hill
c5ec48e858 New parameter parsing API 2008-06-25 12:16:17 +00:00
David Coallier
624c8f2f66 Reverted zpp API Cleanup patch - memory troubles? 2008-06-25 10:16:52 +00:00
David Coallier
c1f8b9b7de - Hackish but working parameter parsing, no longer using
zend_get* at least
2008-06-25 08:56:42 +00:00
David Coallier
8c394f4955 - New parsing parameter API
- Tests have been adjusted, if you have something else failing
  let me know now! All tests seem to pass fine at the moment.
2008-06-24 22:53:01 +00:00
David Coallier
0674689940 - Tests for parsing parameter api 2008-06-24 22:51:57 +00:00
Felix De Vliegher
048736a907 Tests for ob_get_flush(), testfest task number #131. 2008-06-24 10:31:02 +00:00
Dmitry Stogov
273ee49acb Fixed strtolower/strtoupper to not modify the passed argument 2008-06-24 06:07:08 +00:00
Olivier Hill
906b5b80df New parameter parsing API for string, part I 2008-06-22 19:22:41 +00:00
Felix De Vliegher
43e8a59ac7 Basic test for ob_get_length(), testfest.php.net task #132 2008-06-22 12:29:41 +00:00
Felipe Pena
592cecf7d4 - Removed unused variables 2008-06-22 11:36:46 +00:00
Felipe Pena
7e57fd2e6f - Fix segfault 2008-06-21 23:20:40 +00:00
David Coallier
88abc99dc0 - New parsing parameter API cleanups 2008-06-20 20:54:32 +00:00
Stanislav Malyshev
8a65886bb9 fix buglet 2008-06-20 18:10:17 +00:00
Olivier Hill
dc4bcc901b - New parameter parsing API for var.c & tests 2008-06-20 18:05:45 +00:00
Felipe Pena
5fe790929d - New parameter parsing API 2008-06-20 14:53:57 +00:00
Felipe Pena
d4ddc6d890 - New parameter parsing API 2008-06-20 13:02:33 +00:00
Raghubansh Kumar
48b0cc4134 New testcases for vfprintf(), Committed for Felix De Vliegher, TestFest Task No: 124, Tested on RHEL5 -32bit, WinXP-32bit
Added *.txt to .cvsignore
2008-06-20 04:21:58 +00:00
Dmitry Stogov
4961c0c412 Added test for bug #45312 2008-06-19 12:09:44 +00:00
Stanislav Malyshev
5e562853ff fix tests for builtin Zend functions using new parsing API 2008-06-18 23:45:36 +00:00
Philip Olson
31bfce6f19 MFH: updated website team info 2008-06-18 05:20:02 +00:00
Zoe Slattery
f88ab53c3d Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 15:20:04 +00:00
Zoe Slattery
aa8f158276 Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 13:31:18 +00:00
Zoe Slattery
89d3bb2189 Commited for Sanjay, reviewed by Pierre. Testfest task 118. 2008-06-13 13:11:37 +00:00
Lars Strojny
622ac25e81 Testfest: putenv() safe_mode tests by Brian DeShong 2008-06-12 22:36:43 +00:00
Steve Seear
bc29a3874d Filesystem tests. 2008-06-11 12:38:56 +00:00
Dmitry Stogov
99933df5e2 closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:56 +00:00
Antony Dovgal
d7d94aab53 fix typo 2008-06-10 08:14:52 +00:00
Rob Richards
5e60f46159 MFH: rawurlencode now conforms to rfc 3986 (~ is not encoded) [DOC] 2008-06-04 19:35:15 +00:00
Matt Wilmas
572adc05e4 MFH: Initialize with length instead of 0 2008-06-02 11:20:59 +00:00
Antony Dovgal
779769563c fix uninitialized variable 2008-06-02 10:27:55 +00:00
Scott MacVicar
4ae8e34bf4 MFH Fixed bug #43261
(Use ^ as an escape character for Windows escapeshellcmd)
2008-05-30 16:56:57 +00:00
Matt Wilmas
c1126cc5b6 MFH: Only check args once in php_array_diff_key/intersect_key, not on each iteration. This also makes sure ALL args are checked (pre-5.2.5 behavior)
- Also, use new hash_quick_del function where possible
2008-05-30 10:55:14 +00:00
Matt Wilmas
fc6fa44097 Fixed tests on Windows 2008-05-29 07:32:03 +00:00