Commit Graph

6197 Commits

Author SHA1 Message Date
Arnaud Le Blanc
eebec53bc0 Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items) 2008-08-10 13:25:53 +00:00
Arnaud Le Blanc
85bc66aa5c Fixed test 2008-08-10 12:06:49 +00:00
Arnaud Le Blanc
726dfc423d Do not expand $target in symlink(). This made it impossible to symlink to a
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
2008-08-10 11:54:18 +00:00
Antony Dovgal
37b57badf0 disable the test on AIX - unlink() deletes directories there (omg..) 2008-08-09 22:35:17 +00:00
Antony Dovgal
c5b2255843 fix typo 2008-08-09 21:02:30 +00:00
Hannes Magnusson
cd353d6c26 Fix build on FreeBSD4.11 (bug#45757) 2008-08-08 08:19:46 +00:00
Felix De Vliegher
7da0fe6ef0 MFB: Basic and error tests for stream_filter_remove(). 2008-08-07 22:32:43 +00:00
Nuno Lopes
83938211db MFB: upgrade to PCRE 2008-08-07 12:51:05 +00:00
Arnaud Le Blanc
a51e5ebaeb Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:24:04 +00:00
Antony Dovgal
951fe380b3 fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*) 2008-08-07 08:36:15 +00:00
Stanislav Malyshev
9d04ad3dc2 fix test 2008-08-05 21:59:11 +00:00
Stanislav Malyshev
fb9945422e fix memnstr bug by Laurent Gaffie 2008-08-05 21:23:20 +00:00
Jani Taskinen
a445bcdb2f - Add test for bug #45712 2008-08-05 12:36:21 +00:00
Arnaud Le Blanc
4386384222 Fixed test 2008-08-05 10:09:12 +00:00
Dmitry Stogov
83c993baab Fixed test 2008-08-04 07:16:29 +00:00
Jani Taskinen
9a3b00b16e missing eol 2008-08-03 12:04:57 +00:00
Jani Taskinen
6928f2e279 - Fix comment 2008-08-03 12:03:02 +00:00
Arnaud Le Blanc
630fb69796 MFB: Allow urlencode()d filer names in php://filter (fixes #43008) 2008-08-02 06:37:34 +00:00
Felipe Pena
611ecc5111 - Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:40:45 +00:00
Johannes Schlüter
e0e15347e2 - Add array_replace/array_replace_recursive (Mett Wilmas) 2008-07-31 20:17:07 +00:00
Pierre Joye
b1f466b3ed - missing in the previous crypt commit (shutdown frees the locking mechanism) 2008-07-29 17:28:07 +00:00
Felipe Pena
663450701d - Fix memory leak 2008-07-29 16:51:21 +00:00
Arnaud Le Blanc
d739f8f0da Fixed previous fix 2008-07-29 13:57:20 +00:00
Felipe Pena
886087b701 - Fix the fix 2008-07-29 12:41:58 +00:00
Felipe Pena
b201b13939 - Fix mem. leak 2008-07-29 12:36:36 +00:00
Felipe Pena
a9e846b21e - Fixed tests 2008-07-29 12:20:39 +00:00
Arnaud Le Blanc
aa34fda7ee 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:03:57 +00:00
Elizabeth Marie Smith
fec135a4e3 Secure versions of string functions don't exist for VC6 2008-07-28 16:48:38 +00:00
Pierre Joye
852fef98ed - vc6 is picky about brackets when used with a defined type... 2008-07-28 16:32:48 +00:00
Pierre Joye
5ba946926f - #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:34:53 +00:00
Jani Taskinen
093b7afd9e update credits 2008-07-26 22:40:45 +00:00
Dmitry Stogov
bdf7981e28 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:56 +00:00
Jani Taskinen
b3ec151f8f MFB: generated with a bit newer re2c 2008-07-25 09:17:52 +00:00
Michael Wallner
6e228f0c76 - 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:10 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Felipe Pena
997c24d068 - New parameter parsing API 2008-07-24 12:48:47 +00:00
Dmitry Stogov
72dfe66661 LSB parent/self forwarding 2008-07-24 10:14:01 +00:00
Felipe Pena
b1306465de - Fixed tests 2008-07-24 03:30:02 +00:00
Felipe Pena
9c262a3343 - Improved parameter handling 2008-07-24 03:06:16 +00:00
Lars Strojny
441848362d array_intersect_ukey tests by Sanjay Mantoor 2008-07-23 20:38:10 +00:00
Felipe Pena
211064f588 - Fixed tests 2008-07-23 19:49:07 +00:00
Felipe Pena
cc9a38bdca - New parameter parsing API 2008-07-23 19:33:58 +00:00
Felipe Pena
ca536ea944 - Fixed bug #45605 (array_uintersect_assoc gives incorrect error message)
(patch by ilewis at uk dot ibm dot com)
2008-07-23 16:27:16 +00:00
Jani Taskinen
5e1f4665e3 Fix test (bug #44985) 2008-07-23 14:15:00 +00:00
Antony Dovgal
55fecd6593 invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:24:35 +00:00
Antony Dovgal
40b04059f9 fix test 2008-07-23 10:26:39 +00:00
Antony Dovgal
624122daff sync test with other branches 2008-07-23 09:29:09 +00:00
Arnaud Le Blanc
4102806c0c Fix test: use canonical name to avoid problems with domain search path 2008-07-23 08:26:26 +00:00
Scott MacVicar
955466e479 MFB: Fix windows build error. 2008-07-22 21:56:25 +00:00
Scott MacVicar
9f26bea98f Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:18:37 +00:00
Felipe Pena
f76da1b96c - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:06:17 +00:00
Pierre Joye
d3b351114a - fix build 2008-07-22 10:04:53 +00:00
Scott MacVicar
69ee229b97 Fix integer oveflow in strrpos() 2008-07-22 01:05:55 +00:00
Lars Strojny
817546a99f Fixing tests broken by the introduction E_USER_DEPRECATED 2008-07-21 22:06:01 +00:00
Felipe Pena
2d1fbe1328 - Fixed tests 2008-07-21 14:31:40 +00:00
Felipe Pena
6842e84b34 - MFB: New parameter parsing API 2008-07-21 14:29:46 +00:00
Jani Taskinen
f25ac22c58 MFB: The rest of the fix too for previous commit 2008-07-21 11:27:45 +00:00
Kalle Sommer Nielsen
348cec30d0 Forgot to fix title 2008-07-21 11:09:23 +00:00
Jani Taskinen
f6404d756c MFB:- Fixed bug #40079 (php_get_current_user() not thread safe). 2008-07-21 10:16:32 +00:00
Jani Taskinen
3ea12e99c0 ws 2008-07-21 10:10:34 +00:00
Steph Fox
d5970d85be MFB Make compiler/architecture info potentially cross-platform 2008-07-21 09:58:28 +00:00
Felipe Pena
d986dd8bc1 - MFB: Added arginfo 2008-07-20 14:29:30 +00:00
Dmitry Stogov
0cfa6a5977 support for closures 2008-07-17 09:52:51 +00:00
Scott MacVicar
fa85c408a9 Fix bug when < is used within attribute. 2008-07-15 14:44:46 +00:00
Felix De Vliegher
4b1c0f0722 MFB: Tests for strpbrk(), testfest.php.net task #91 and #92. 2008-07-15 11:15:32 +00:00
Josie Messa
0d4efeb6f2 - Tests from TestFest
- Have slightly modified similar_text_error.phpt from original file
2008-07-14 15:28:51 +00:00
Felipe Pena
2a55e75300 - MFB: Fixed bug #45449 (filesize() regression using ftp wrapper) (patch by crrodriguez at suse dot de) 2008-07-11 18:34:43 +00:00
Felipe Pena
9277fc89c4 - MFB: Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:43:06 +00:00
Antony Dovgal
3519ed9e31 manage references of stream context properly 2008-07-11 10:24:29 +00:00
Antony Dovgal
e5612456de fix skip messages 2008-07-11 09:16:50 +00:00
Antony Dovgal
8e28f5d4c0 check for posix_getuid() 2008-07-11 09:15:37 +00:00
David Soria Parra
82830dd06f PHP Testfest. Tests done by Felix De Vliegher 2008-07-10 23:36:15 +00:00
Etienne Kneuss
cecf208c3f Fix resolution rule of count vs. handler 2008-07-09 21:29:39 +00:00
Jani Taskinen
c344b35cc8 - Update credits 2008-07-07 10:38:16 +00:00
Dmitry Stogov
d8aad16dd0 Use new parameter parsing API 2008-07-01 10:01:25 +00:00
Antony Dovgal
640cdfa3ad int -> long 2008-07-01 08:17:19 +00:00
Antony Dovgal
9c6362a1dd this should be long 2008-07-01 08:15:44 +00:00
Felipe Pena
c110a49b03 - Fixed tests 2008-06-26 11:07:14 +00:00
Felix De Vliegher
8c22747b68 MFB: tests for lchown(), testfest.php.net task number 129. 2008-06-26 09:12:40 +00:00
Felix De Vliegher
0a7198a297 MFB: tests for ob_get_flush(), testfest task number #131 2008-06-24 10:33:38 +00:00
Felix De Vliegher
d54cf79cbc Testcases for vfprintf(), testfest task #133. 2008-06-22 13:31:10 +00:00
Felix De Vliegher
ce79e30177 Basic test for ob_get_length(), testfest.php.net task #132 2008-06-22 12:51:37 +00:00
Dmitry Stogov
c5031f96bb Added test for bug #45312 2008-06-19 12:10:00 +00:00
Philip Olson
dd0b906ec6 updated website team info 2008-06-18 05:17:55 +00:00
Zoe Slattery
4576f6348a Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 15:22:42 +00:00
Felipe Pena
5b4685d724 - Fixed tests 2008-06-13 13:43:55 +00:00
Zoe Slattery
c108d791fc Commited for Sanjay, reviewed by Pierre. Testfest task 117. 2008-06-13 13:33:15 +00:00
Zoe Slattery
9b5e867bdc Commited for Sanjay, reviewed by Pierre. Testfest task 118. 2008-06-13 13:14:20 +00:00
Felipe Pena
7504d57043 - Fixed tests (unicode results, UEXPECT, line endings) 2008-06-13 00:18:57 +00:00
Steve Seear
79cb128c59 Filesystem tests. 2008-06-11 12:40:34 +00:00
Dmitry Stogov
00ea3108ea closeder/readdir/rewinddir must work only with directories 2008-06-11 09:01:44 +00:00
Antony Dovgal
bfda5b1b58 fix typo 2008-06-10 08:14:45 +00:00
Rasmus Lerdorf
3dc903400b Merge from PHP_5 - don't echo raw cookie values here 2008-06-09 14:05:49 +00:00
Rob Richards
cb972c1da6 rawurlencode now conforms to rfc 3986 (~ is not encoded) [DOC] 2008-06-04 19:34:45 +00:00
Matt Wilmas
0cc9f01212 Initialize with length instead of 0 (and thanks Antony for finding) 2008-06-02 11:20:17 +00:00
Antony Dovgal
e58b49fc4c fix uninitialized variable 2008-06-02 10:27:42 +00:00
Scott MacVicar
ba1e3103b3 Fixed bug #43261
(Use ^ as an escape character for Windows escapeshellcmd)
2008-05-30 16:52:06 +00:00
Matt Wilmas
3a9eea4a8d 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:54:16 +00:00
Felipe Pena
e4fc964ab3 - Added check for encoding optional parameter (avoiding the segfault in filter.c: strlen(encoding))
If the parameter is not suplied, it will try to use the UG(stream_enconding)
2008-05-28 18:02:52 +00:00
Felipe Pena
4fd6a040b9 - Added zval separation (avoid crash when using fwrite($fp, $fp)). 2008-05-28 17:24:47 +00:00
Pierre Joye
99250fba7e - c/p evilness 2008-05-27 18:27:23 +00:00
Pierre Joye
d3bff02b63 - Add compiler informations on Windows (will add more info later, like x86 or x64 and makes it available in userland) 2008-05-27 18:23:21 +00:00
Matt Wilmas
25958acac4 Regenerate 2008-05-27 11:27:58 +00:00
Steph Fox
87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00
Matt Wilmas
9c37df900c Add array_init_size() and use it where array size is known at initialization 2008-05-27 10:28:25 +00:00
Steph Fox
a4cb8c536f - killed off UEXPECT 2008-05-27 09:34:55 +00:00
Steph Fox
4ccb8869e7 - killed off UEXPECT 2008-05-27 07:46:51 +00:00
Steph Fox
08253045d4 - killed off UEXPECT
- no getmxrr() under doze
2008-05-27 07:41:44 +00:00
Steph Fox
5078c3a00a - killed off UEXPECT 2008-05-27 07:38:00 +00:00
Steph Fox
1b04aaf1ed - killed off UEXPECT 2008-05-27 00:08:03 +00:00
Steph Fox
fa3d01975b - killed off UEXPECT
- E_DEPRECATED doesn't always allow stuff to pass?
2008-05-27 00:04:31 +00:00
Steph Fox
24d1d8459c - killed off UEXPECT
- everything passes here on my box, yay
2008-05-26 23:54:20 +00:00
Steph Fox
8c15398ca6 - killed off UEXPECT 2008-05-26 23:48:29 +00:00
Steph Fox
f6cc4ee4df - killed off UEXPECT
- Tony has a patch that should fix all these
2008-05-26 23:45:15 +00:00
Steph Fox
b00be96ec2 - killed off UEXPECT
- another of those parser differences in assert_02.phpt. Please check.
2008-05-26 23:42:10 +00:00
Steph Fox
833f4150a1 - killed off UEXPECT
- could someone please fix var_export2.phpt? NUL is corrupted, can't fix here
2008-05-26 23:36:10 +00:00
Pierre Joye
dac1a1014d - [DOC] restore get_magic_quotes_gpc and get_magic_quotes_runtime
they always return false.
  (let save the world, spare bandwidth and kill the trolls 1/2)
2008-05-24 14:36:16 +00:00
Marcus Boerger
42c955d77b - Add constants and new test (test from testfest.php.net) 2008-05-24 11:53:35 +00:00
Matt Wilmas
e2730a196f Fixed Windows build now that HAVE_INET_PTON is defined 2008-05-23 09:40:19 +00:00
Kalle Sommer Nielsen
3273ed8ec0 Enable inet_pton() and inet_ntop() on Windows in HEAD 2008-05-22 22:07:21 +00:00
Felipe Pena
ad69a4c588 - MFB: Making compatible with 64bit platform 2008-05-18 15:52:42 +00:00
Felipe Pena
f4458df3d4 - Improved fix (used 's' in parameter parsing) 2008-05-16 12:11:15 +00:00
Felipe Pena
7bfcde4894 - MFB: Added conversion to string. 2008-05-16 03:11:56 +00:00
Antony Dovgal
b3e245110d and the last one.. 2008-05-14 13:13:02 +00:00
Antony Dovgal
a7ec33a1ef revert patch that causes invalid reads/crashes on Linux 2008-05-12 08:46:49 +00:00
Matt Wilmas
49800ec22c Fixed test after fixing bug #44830 2008-05-12 05:06:53 +00:00
Scott MacVicar
a2ef7d48d0 Fix compile error if _GNU_SOURCE is defined 2008-05-09 12:58:50 +00:00
Ant Phillips
b6c0148fc0 Collect all the open_basedir security tests into one place 2008-05-09 08:44:44 +00:00
Felipe Pena
27c72fd2e1 - Fix data size 2008-05-08 17:22:07 +00:00
Felipe Pena
496099274b - Fixed detection of invalid class name 2008-05-08 16:58:43 +00:00
Ilia Alshanetsky
7e68effe43 MFB: Fixed bug #44836 (putenv() crashes, avoid direct reference of environ
in POSIX systems).
2008-05-06 18:04:25 +00:00
Kalle Sommer Nielsen
76606319c0 Changed php_*h() + php_log1p() + php_expm1() to be static 2008-05-06 10:57:54 +00:00
Kalle Sommer Nielsen
f914d50dd6 Implemented Windows support for asinh(), acosh(), atanh(), log1p() and expm1() + removed Windows check on tests
[DOC] Windows support for asinh(), acosh(), atanh(), log1p() and expm1()
2008-05-05 06:28:03 +00:00
Etienne Kneuss
5f4e5fa60a Fix protos 2008-05-04 21:16:22 +00:00
Ant Phillips
07dc6d94b6 open_basedir tests for directory functions 2008-05-01 12:36:44 +00:00
Ant Phillips
6946c49719 open_basedir tests for directory functions 2008-05-01 11:46:17 +00:00
Ant Phillips
08b3473a81 Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:50 +00:00
Dmitry Stogov
1d0f893b49 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:49 +00:00
Ant Phillips
72d15b9bba Extra open_basedir tests 2008-04-24 16:40:55 +00:00
Ant Phillips
dedb146a69 Allow for chmod() to fail on symbolic links 2008-04-24 13:58:27 +00:00
Pierre Joye
09c7d21237 - improve test and remove files on exit 2008-04-24 08:45:11 +00:00
Dmitry Stogov
937b1b7ab6 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:46:10 +00:00
Ant Phillips
6b21c9a335 open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches) 2008-04-23 14:10:12 +00:00
Felipe Pena
5df12221cf - Added UEXPECTF 2008-04-21 12:50:40 +00:00
Felipe Pena
18fad25a77 - Fixed tests 2008-04-19 23:11:26 +00:00
Felipe Pena
04d0bb1e10 - Fixed tests (NULL is allowed where binary string is expected) 2008-04-15 17:13:08 +00:00
Felipe Pena
c831cc9c75 - Fixed test 2008-04-15 15:41:41 +00:00
Jani Taskinen
009ac20f20 - missed one line 2008-04-15 09:02:16 +00:00
Jani Taskinen
263b1aa1d2 - Readd config_get_has(). No need to document, it is only available for debug builds. 2008-04-15 08:43:48 +00:00
Felipe Pena
d376f209d4 - Fixed test (bug #44533) 2008-04-14 17:51:08 +00:00