Commit Graph

22162 Commits

Author SHA1 Message Date
Etienne Kneuss
e370d5bccc Cosmetics, move stuff around, ws 2008-02-10 14:07:40 +00:00
Felipe Pena
9d229c7f7c Fixed Bug #42229 (fgetcsv() behaves differently for a file containing '\n' with php5 and php6) 2008-02-10 04:09:12 +00:00
Felipe Pena
6420454991 New test 2008-02-10 03:55:39 +00:00
Felipe Pena
c1bdb769a0 Fixed Bug #42163 (fgetcsv() gives different output with and without Unicode) 2008-02-10 02:13:37 +00:00
Johannes Schlüter
7aad715a56 Fix build on Solaris 2008-02-09 21:58:39 +00:00
Felipe Pena
a4363b1f7f Fixed bugs:
- #42036	fgetc() sets end of the file flag when reading on write only file
- #42037	fgetc() retuns one char when fails to read on php6
2008-02-09 19:46:49 +00:00
Felipe Pena
9619ec2317 New test for strtok 2008-02-09 18:12:45 +00:00
Andrey Hristov
533618d2a0 Remove dead code 2008-02-08 09:57:01 +00:00
Antony Dovgal
6d9453aa91 add ifdefs and fix folding 2008-02-08 09:25:02 +00:00
Antony Dovgal
271e0394d7 fix 5_3 build 2008-02-08 09:21:24 +00:00
Dmitry Stogov
cce5140cf3 Improved md5() implementation (Solar Designer) 2008-02-08 09:11:28 +00:00
Greg Beaver
19df8a4d7f fix issues in opendir() with empty directories within a phar archive, port filterparams fix to tar.c 2008-02-08 05:57:40 +00:00
Greg Beaver
15410a4f66 make maximum manifest size 100MB for phar archives, simple apps are hitting the 1 MB limit quite easily. 2008-02-08 05:56:26 +00:00
Greg Beaver
5b5c86df9f better fix for double free - ensure that SEPARATE_ZVAL() inside
zlib_filter.c actually separates the zval, then we can zval_dtor() it
properly
2008-02-08 05:41:59 +00:00
Greg Beaver
4e42110f3e remove test accidentally added 2008-02-08 05:08:18 +00:00
Greg Beaver
fa7a1779a1 remove unnecessary INIT_ZVAL(filterparams) that causes unfreed value 2008-02-08 05:05:13 +00:00
Greg Beaver
e3c64bd53b fix memory leaks. There are some leaks in libz that I can't fix, but none triggered in the current tests 2008-02-08 04:26:41 +00:00
Greg Beaver
c31f04b5f3 SEPARATE_ZVAL does not work for this situation. We always want
to duplicate and copy, so do it manually and reset refcount to 1
2008-02-08 03:53:17 +00:00
Greg Beaver
a3c910739f fix flipped logic 2008-02-08 01:08:02 +00:00
Greg Beaver
67a9fd8783 fix mem leaks
strip trailing slash if present in a directory entry.  This code assumes that
tar_type is directory, as it must be to be a valid directory.
2008-02-08 01:06:12 +00:00
Greg Beaver
43f2638634 better fix for invalid mem access 2008-02-08 00:58:39 +00:00
Greg Beaver
7575b012f2 fix invalid read/write if strstr() returns NULL 2008-02-08 00:55:38 +00:00
Greg Beaver
e67c584348 [DOC]
refactor the $rewrites parameter in Phar::webPhar.  Now it is a callback
that accepts the path requested.  This callback should return the actual filename
requested as a string, or false to deny access as HTTP 403.
Also fix incorrect munging of SCRIPT_NAME variable in mungServer
More importantly, Phar::webPhar now finds the filename hidden in:
http://localhost/myphar.phar/internal/file.php/extra/stuff
as 'internal/file.php' in phar 'myphar.phar' with REQUEST_URI '/internal/file.php/extra/stuff'
this will allow pharring up apps that use REQUEST_URI for front controller stuff.
2008-02-07 23:42:03 +00:00
Felipe Pena
0a5d2b1ac7 Fix error message 2008-02-07 13:26:36 +00:00
Felipe Pena
8083c40376 Added UEXPECTF 2008-02-07 13:18:58 +00:00
Felipe Pena
6935680443 Added UEXPECTF 2008-02-07 13:06:50 +00:00
Felipe Pena
77864cdc8e Fixed some tests (UEXPECT) 2008-02-07 12:45:54 +00:00
Jani Taskinen
ea66acd4d3 - Fix test (no files in "root" please) 2008-02-07 12:15:41 +00:00
Antony Dovgal
a04bcdfcec remove old code leftover causing problems 2008-02-07 08:45:43 +00:00
Greg Beaver
1cac0aa8e2 fix webPhar() in CGI sapi, update tests to reflect reality of how these ENV vars are passed 2008-02-07 04:24:58 +00:00
Marcus Boerger
4ad89748c3 - Fix missing check and tests 2008-02-06 20:39:54 +00:00
Jani Taskinen
ff77e247d4 - Add test for the "modifying original array" bug 2008-02-06 19:13:10 +00:00
Jani Taskinen
f96e514a83 ws 2008-02-06 19:06:05 +00:00
Jani Taskinen
42b69fc802 - Fixed bug in handling arrays which caused the original array being modified too. 2008-02-06 19:05:18 +00:00
Andrey Hristov
0c65a68fc9 Fix a bug and a test 2008-02-06 14:11:32 +00:00
Andrey Hristov
bb4051d480 Fix test 2008-02-06 13:01:30 +00:00
Andrey Hristov
ac3d36818f Pconnect working with mysqli_real_connect() 2008-02-06 11:35:44 +00:00
Zoe Slattery
87a60ef453 Fixing 32 bit specific 2008-02-06 09:28:01 +00:00
Zoe Slattery
4da92843b9 Tests for assorted Maths functions 2008-02-06 08:39:23 +00:00
Felipe Pena
b50f869aac Fixed bug #42167 (fgetcsv gives different output on php6 compared to php5), #42219 (length argument of fgetcsv() is not effective/working in PHP6) 2008-02-06 02:56:49 +00:00
Marcus Boerger
ee507a2d05 - Add new test 2008-02-05 18:56:40 +00:00
Ilia Alshanetsky
4545b5bf25 MFB: Fixed bug #44046 (crash inside array_slice() function with an invalid
by-ref offset).
2008-02-05 16:02:23 +00:00
Robert Nicholson
8f6de4aada - fix arsort_variation3.phpt which was missing its EXPECT section 2008-02-05 11:20:28 +00:00
Marcus Boerger
95fe32b4e6 - Really last flag change (got confused with code) 2008-02-04 21:37:43 +00:00
Jani Taskinen
71e3d357ef - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too 2008-02-04 20:45:16 +00:00
Marcus Boerger
cf8300a542 - Update docu 2008-02-04 20:40:29 +00:00
Felipe Pena
c866bc64cf Fix wrong test 2008-02-04 19:58:12 +00:00
Felipe Pena
9df576bed3 Fixed wrong fix 2008-02-04 19:48:14 +00:00
Marcus Boerger
f5480b2cb0 - Fix/add folding markers 2008-02-04 19:39:07 +00:00
Marcus Boerger
ee8827288f - Really fix flag handling 2008-02-04 19:33:03 +00:00