Commit graph

40943 commits

Author SHA1 Message Date
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
a846273359 ChangeLog update 2008-02-08 01:31:29 +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
Marcus Boerger
7329e71eb5 - Simplify 2008-02-07 18:40:44 +00:00
Marcus Boerger
602dd615e9 - Add %Z to *printf 2008-02-07 18:40:29 +00:00
Marcus Boerger
b00b0c2dca - WS 2008-02-07 18:33:20 +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
Marcus Boerger
8954a96939 - WS 2008-02-07 12:45:42 +00:00
Jani Taskinen
ea66acd4d3 - Fix test (no files in "root" please) 2008-02-07 12:15:41 +00:00
Antony Dovgal
ade44c50e8 fix TSRM mutex return value inconsitencies (patch by Scott MacVicar) 2008-02-07 09:06:23 +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
aa32ad6d9d ChangeLog update 2008-02-07 01:31:41 +00:00
Marcus Boerger
cbf04002c4 - Is there an easier way to figure out something is a string? 2008-02-06 22:00:21 +00:00
Marcus Boerger
812d203003 - Fix unicode
# I hate unicode, it is getting tooo complex
2008-02-06 21:53:17 +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
Marcus Boerger
29ba9e8651 - WS 2008-02-06 10:57:34 +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
35a5b0abe7 ChangeLog update 2008-02-06 01:31:30 +00:00
Marcus Boerger
7c377ca19f - Fix cross class tree reference issues with callbacks 2008-02-05 19:06:59 +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
c528ad6127 ChangeLog update 2008-02-05 01:31:35 +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
Jani Taskinen
ad6e9ad259 - Allow using any constants registered by PHP in php.ini too 2008-02-04 20:38:42 +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
Marcus Boerger
de120f6698 - Fix #44018 (RecursiveDirectoryIterator options inconsistancy) 2008-02-04 18:46:02 +00:00