Commit Graph

19528 Commits

Author SHA1 Message Date
Antony Dovgal
80fdcd8e06 nuke redundant zval_ptr_dtor() call and fix memory corruption/segfault 2006-12-05 18:42:22 +00:00
Andrei Zmievski
9c1efbe2bb Unicode support in http_build_query(). 2006-12-05 18:41:23 +00:00
Ilia Alshanetsky
c8ba0f9058 MFB: Fixed bug #36798 (Error parsing named parameters with queries
containing high-ascii chars).
2006-12-05 18:05:56 +00:00
Hannes Magnusson
380439a39a MFB: fix test 2006-12-05 15:59:09 +00:00
Antony Dovgal
2f5f375850 don't pass negative maxchars to php_stream_get_line_ex() 2006-12-05 13:45:49 +00:00
Rob Richards
5ccef7164e MFB: fix bug #39625 (Apache crashes on importStylesheet call) 2006-12-05 12:05:03 +00:00
Sara Golemon
fac71c77c1 Add str_getcsv() and fix a couple cases in recent fgetcsv() reimplementation 2006-12-05 04:52:44 +00:00
Sara Golemon
78f65cc451 Unicode upgrade for fgetcsv() 2006-12-05 04:13:47 +00:00
Stanislav Malyshev
40b496d63f Merge from 5.2:
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
2006-12-05 02:55:27 +00:00
Ilia Alshanetsky
bc07f14f7a MFB: Fixed bug #39571 (timeout ssl:// connections). 2006-12-05 01:39:21 +00:00
Pierre Joye
a62301fc98 - invalid filter id should not return unsafe values 2006-12-05 01:23:42 +00:00
Pierre Joye
bead3e1428 - WS 2006-12-04 21:34:48 +00:00
Pierre Joye
4fcf964c65 - MFB: use %s 2006-12-04 21:23:02 +00:00
Pierre Joye
836e249bcc - WS 2006-12-04 21:16:46 +00:00
Andrei Zmievski
4524457eff Make headers-related functions accept Unicode strings, but only if their
contents can be converted to ASCII.
2006-12-04 20:43:42 +00:00
Andrei Zmievski
411f6ca0fb Unicode support in var_export(). 2006-12-04 18:55:40 +00:00
Ilia Alshanetsky
aaf7159f2a MFB: Fixed tests 2006-12-04 18:30:05 +00:00
Antony Dovgal
6aa5ed0d9c partly fix #39724
ext/spl has a soft dependcy from ext/pcre (not ext/pcre-regex)
2006-12-04 18:01:24 +00:00
Ilia Alshanetsky
10a8b1a152 MFB: Fixed test (user is a reserved keyword in pgsql) 2006-12-04 17:55:56 +00:00
Antony Dovgal
576797c7c1 fix retval type
it should be int, not zend_bool
2006-12-04 15:58:35 +00:00
Andrey Hristov
20fc9486db dummy change 2006-12-04 15:27:18 +00:00
Ilia Alshanetsky
6f6577665e MFB: Fixed bug #38319 (Remove bogus warnings from persistent PDO connections). 2006-12-04 03:08:52 +00:00
Ilia Alshanetsky
7f024a57bc MFB: Fixed bug #38252 (Incorrect PDO error message on invalid default fetch
mode).
2006-12-04 02:40:20 +00:00
Ilia Alshanetsky
e448b6f2b7 MFB: Added test for previous bug 2006-12-04 00:41:07 +00:00
Ilia Alshanetsky
ad2b0a9fef MFB: Fixed bug #39483 (Problem with handling of \ char in prepared
statements).
2006-12-04 00:39:47 +00:00
Ilia Alshanetsky
6c315e1908 MFB:
Default to buffered queries (much faster)
	Default to prepared statement emulation to avoid hitting MySQL bugs
2006-12-03 23:30:24 +00:00
Ilia Alshanetsky
f01de45857 MFB: Added missing check for mismatching number of tokens & bound params in
prepared statement emulation.
2006-12-03 23:28:00 +00:00
Ilia Alshanetsky
a1721fa5d9 MFB: Added "default" option that allows a default value to be set for an
invalid or missing value.
2006-12-03 21:27:51 +00:00
Ilia Alshanetsky
b0bed17255 MFB: Fixed bug #39718 (possible crash if assert.callback is set in ini). 2006-12-03 17:13:27 +00:00
Antony Dovgal
940f70c47b fix leaks 2006-12-03 13:58:54 +00:00
Antony Dovgal
c46f51113a fix AIX build 2006-12-03 13:46:09 +00:00
Nuno Lopes
75011c4d2c add UEXPECT sections 2006-12-03 11:20:32 +00:00
Hannes Magnusson
79f1a51473 MFB: fix test on fbsd 2006-12-03 08:08:18 +00:00
Nuno Lopes
5819d83aeb MFH (not tested. so some tests may fail in unicode mode) 2006-12-02 21:42:30 +00:00
Ilia Alshanetsky
b5e7220dcb MFB: Fixed bug #39527 (Failure to retrieve results when multiple unbuffered,
prepared statements are used in pdo_mysql).
2006-12-02 17:55:05 +00:00
Andrei Zmievski
1f2d5e3b00 Finalize Unicode support in serialize() and unserialize(). 2006-12-01 19:25:11 +00:00
Ilia Alshanetsky
16c58e611a MFB: Fixed a possible memory corruption in dbase_open() with invalid open
mode
2006-12-01 19:10:59 +00:00
Andrei Zmievski
0184d9c864 Fix group macro access. 2006-12-01 18:42:24 +00:00
Nuno Lopes
73d474be62 MFB: fix #39458 2006-12-01 16:42:48 +00:00
Marcus Boerger
61d7b66a81 - Fix handling of recursive inner iterators 2006-12-01 09:28:38 +00:00
Ilia Alshanetsky
fcaf113b33 MFB: Disallow \0 chars inside session.save_path 2006-12-01 00:27:33 +00:00
Andrei Zmievski
45e2197619 get_headers() will keep headers as binary strings. 2006-11-30 22:26:27 +00:00
Andrei Zmievski
658809278e Mark setlocale() as Unicode-safe. It shouldn't be used in
unicode.semantics=on mode anyway.
2006-11-30 21:46:54 +00:00
Andrei Zmievski
6209dc6f49 Forgot to mark import_request_variables() as Unicode-safe. 2006-11-30 21:23:07 +00:00
Andrei Zmievski
d0b44c9eb5 Mark strtr() as Unicode-safe.
# Right, Derick?
2006-11-30 21:20:56 +00:00
Andrei Zmievski
91619d9e1d Mark pack()/unpack() as Unicode-safe. They will accept Unicode strings
but convert them to binary. We can revisit supporting something like 'U'
format in the future, if it's needed.
2006-11-30 21:18:22 +00:00
Andrei Zmievski
8ce99ad71b Make quoted_printable_decode() take only ASCII strings. 2006-11-30 18:32:59 +00:00
Ilia Alshanetsky
b364ca66f6 MFB: Added missing function checks 2006-11-30 16:48:27 +00:00
Ilia Alshanetsky
8efa38df0b zts fixes 2006-11-30 16:38:53 +00:00
Ilia Alshanetsky
204c32b760 MFB: Thread safety fixes. 2006-11-30 16:21:36 +00:00