Rui Hirokawa
274799678f
MFH: changed mapping of 0xa5 for SJIS-mac to prevent XSS.
2011-08-06 15:24:31 +00:00
Felipe Pena
707a8f70b8
- Added ZEND_MOD_END macro to use in the end of zend_module_dep[]
2011-08-06 14:47:44 +00:00
Rui Hirokawa
786d8e7bc2
MFH: fixed encoding conversion when http_input=auto.
2011-08-06 12:19:33 +00:00
Rui Hirokawa
5709c83d93
MFH: improved error handling for ill-formed utf-8 based on the Unicode recommendation.
2011-08-06 04:28:26 +00:00
Rui Hirokawa
d322b26fb4
MFH: added ill-formed utf-8 check for 0xEDXXXX.
2011-08-06 02:22:38 +00:00
Rui Hirokawa
7bc77208f3
MFH (updated libmbfl version to 1.3.1).
2011-08-06 01:49:10 +00:00
Felipe Pena
783b05326a
- Added missing PHP_FE_END/ZEND_FE_END
2011-08-06 01:22:27 +00:00
Felipe Pena
7c1cb26937
- Fixed bug #55313 (Number of retries not set when params specified)
...
patch by: kevin at kevinlocke dot name
2011-08-06 00:59:21 +00:00
Rasmus Lerdorf
f7e07ae69b
efree match_sets on an error here - found by Coverity
2011-08-05 22:39:40 +00:00
Christopher Jones
1970c23d86
Improve test portabilty
2011-08-05 22:18:50 +00:00
Andrey Hristov
534de60284
Fix for bug #55283 SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections
2011-08-05 13:39:30 +00:00
Rui Hirokawa
1be5479980
MFH (added check for invalid utf-8 encoding).
2011-08-05 04:34:16 +00:00
Rui Hirokawa
7819bb79c7
MFH (removed obsolete/invalid 5,6 byte encoding of UTF-8 from mbstring/libmbfl based on Unicode 5.2.
2011-08-04 12:51:40 +00:00
Felipe Pena
20dc806810
- Added missing check (thanks neweracracker at gmail dot com)
2011-08-04 10:56:59 +00:00
Andrey Hristov
c9e7716cfd
Add mysqli_error_list() that returns an array with errors. Typically only
...
one and just one for libmysql. mysqlnd can return generate more than one error
during its work and with mysqli_error() only the last error is being reported.
In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found.
The list is reset when the next command is executed
2011-08-04 09:51:26 +00:00
Felipe Pena
d8f08192ef
- Fixed possible efree(NULL) (bug #55296 )
2011-08-04 00:59:43 +00:00
Rui Hirokawa
bf6827697b
fixed error handling on SJIS_Mobile (for SB/KDDI).
2011-08-03 11:55:43 +00:00
Rui Hirokawa
1735305f34
fixed error handling on SJIS_Mobile.
2011-08-03 11:51:08 +00:00
Andrey Hristov
1a5b1da9c1
Remove a warning by explicitly compiling out a non-used variable
2011-08-02 15:30:58 +00:00
Andrey Hristov
a7fd79b948
completely compile out a currently non-needed function
2011-08-02 14:18:56 +00:00
Andrey Hristov
a884bbf1e9
compile out both parts of the code that are currently unused - fixes a compilation warning
2011-08-02 14:02:21 +00:00
Andrey Hristov
c99e0d9314
fix warnings due to change in zend_property_info (structure extended in the middle!!)
2011-08-02 13:41:20 +00:00
Rui Hirokawa
c5a650e815
MFH (updated libmbfl for 1.3.0.).
2011-08-02 03:50:10 +00:00
Stanislav Malyshev
83039b8fee
fix params parsing
2011-08-01 04:29:37 +00:00
Stanislav Malyshev
1c83f5e04c
fix tests
2011-08-01 03:42:02 +00:00
Stanislav Malyshev
3b7cdd0227
fix failing tests
2011-08-01 01:00:57 +00:00
Stanislav Malyshev
5b5c393f82
fix termination in sha-512 too
2011-07-31 23:14:04 +00:00
Stanislav Malyshev
0c5dd2c360
fix salt truncation bug in sha256
2011-07-31 21:47:03 +00:00
Pierre Joye
a7e1a71bad
- blowfish 1.2 update, 2nd part
2011-07-31 20:50:09 +00:00
Stefan Marr
0158804a15
Added __TRAIT__ magic constant [TRAITS] [DOC]
...
# __TRAIT__ behaves like __CLASS__ more or less but is constraint to traits.
# Since traits are not types, there are not many valid use cases, and trying
# to use __TRAIT__ to make traits more like classes is discouraged.
2011-07-31 17:39:30 +00:00
Stefan Marr
7e5a214251
Added: SKIP when tokenizer extension is not available
2011-07-31 16:35:09 +00:00
Pierre Joye
0b619f4f0b
- Fix #55301 (sybase part, take #2 ) check if malloc succeded
2011-07-28 21:16:51 +00:00
Pierre Joye
9c88553456
- Fix #55301 (mssql part) check if malloc succeded
2011-07-28 11:01:04 +00:00
Pierre Joye
61780c3dbc
- Fix #55301 (sybase part) check if malloc succeded
2011-07-28 10:57:31 +00:00
Pierre Joye
74de7dd66d
- Fix #55301 (url scanner part) check if malloc succeded
2011-07-28 10:52:45 +00:00
Pierre Joye
618b480d91
- Fix #55301 (readline part) check if malloc succeded
2011-07-28 10:42:45 +00:00
Pierre Joye
bc165d3a65
- Fix #55301 (interbase part) check if malloc succeded
2011-07-28 10:39:08 +00:00
Pierre Joye
3f28c4eb11
- Fix #55301 (pdo_odbc part) check if malloc succeded
2011-07-28 10:37:04 +00:00
Pierre Joye
582c2fa868
- Fix #55301 (com_dotnet part) check if malloc succeded
2011-07-28 10:34:16 +00:00
Pierre Joye
103d475021
- Fix #55301 (curl part) check if malloc succeded
2011-07-28 10:31:34 +00:00
Pierre Joye
15383e046e
- do safemode/open basedir checks 1st, and use only expand not realpath (it is done by the safemode/openbasedir check already)
2011-07-27 14:58:30 +00:00
Andrey Hristov
11e4f1e39a
longer error messages, don't cut them
2011-07-27 10:26:59 +00:00
Peter Cowburn
9159e3d246
added (recursive)callbackfilteriterator to spl_classes() (bug #55287 )
2011-07-27 08:48:08 +00:00
Christopher Jones
57536d31eb
Add explicit casts to remove some of Pierre's snapshot build warnings
2011-07-27 00:04:47 +00:00
Pierre Joye
db25201ffb
- Fixed bug 55124, recursive mkdir fails with current (dot) directory in path
2011-07-26 17:44:20 +00:00
Ulf Wendel
5d4d7837fa
Double check if line is sill usable and connected to last successfully selected db.
2011-07-26 16:14:59 +00:00
Ulf Wendel
62b3c85b05
Check what happens if switching DB via API fails. Expected: no change of current DB/schema.
2011-07-26 15:37:59 +00:00
Ulf Wendel
48d47da8af
Would be nice if tests get updated whenever a feature is added by the person adding the feature...
2011-07-26 09:33:01 +00:00
Ulf Wendel
41c94d26a4
Fix mysqlnd detection
2011-07-26 09:30:49 +00:00
Pierre Joye
5107df2d04
- use cwd_expand now
2011-07-26 07:30:41 +00:00
Christopher Jones
e2f5272dac
Fix cast warning seen on some platforms
2011-07-25 23:40:57 +00:00
Christopher Jones
f330e9fc08
Patch r313663 and r313665 to allow PECL builds to work with earlier releases
2011-07-25 17:30:09 +00:00
Christopher Jones
a746dbb579
Remove old testname. This file now diverges from PHP_5_3
2011-07-25 17:25:47 +00:00
Christopher Jones
6effbcb140
Update skipif
2011-07-25 17:22:48 +00:00
Ulf Wendel
bd07868280
Test update. 5.4+ is more verbose.
2011-07-25 15:07:54 +00:00
Ulf Wendel
93b501ed61
Test update. 5.4+ throws a catchable fatal error, 5.3 does not.
2011-07-25 14:53:01 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Rasmus Lerdorf
c2663588e1
When you add something that changes the phpinfo output, please
...
update this test.
2011-07-25 05:32:08 +00:00
Stefan Marr
dca6f950a9
Added forgotten tests cases for class_uses() from commit rev. 313640
2011-07-24 10:20:08 +00:00
Stefan Marr
1fc4bc1d56
Added missing class_uses(..) function to SPL to mirror class_implements(..).
...
# Was pointed out as missing in bug #55266 .
2011-07-23 19:08:43 +00:00
Scott MacVicar
ebbb2b1df1
When we have a blocking SSL socket, respect the timeout option.
...
reading from SSL sockets could block indefinitely due to the lack
of timeout
2011-07-23 01:29:44 +00:00
Felipe Pena
a6eaf353c0
- Disable __sync_fetch_and_add for HPUX for now, gcc seems not provide __sync_fetch_and_add_4 for all targets
2011-07-23 01:08:24 +00:00
Pierrick Charron
824726073b
Delete empty test files (old MQ tests)
2011-07-22 12:12:05 +00:00
Pierre Joye
45420bb669
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4
2011-07-22 11:56:20 +00:00
Pierre Joye
7c90a9daa8
- WS
2011-07-22 11:26:23 +00:00
Pierre Joye
9805e1674a
- remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ
2011-07-22 11:25:30 +00:00
Daniel Convissor
8bfb9bcd01
Fix spelling error.
2011-07-21 19:56:54 +00:00
Daniel Convissor
d108429f82
Have test for add/sub/diff one second during ST/DST transition in spring.
2011-07-21 15:35:06 +00:00
Boris Lytochkin
02bf16db03
s/noOIDIncreasingCheck/oid_increasing_check/
2011-07-21 12:48:47 +00:00
Ryan Biesemeyer
530311f4ba
removing openssl test for bug #55169 per Scott MacVicar's request; duplicate coverage of opensssl_random_pseudo_bytes.phpt
2011-07-20 21:25:39 +00:00
Ryan Biesemeyer
386abb9f5a
update test for bug #55169 , fix skipif
2011-07-20 21:13:03 +00:00
Ryan Biesemeyer
08cab10dc9
update test for bug #55169 , don't require the extension in INI
2011-07-20 20:57:17 +00:00
Ryan Biesemeyer
cd6f4bcf8d
tests for bug #55169 (mcrypt and openssl)
2011-07-20 18:59:05 +00:00
Daniel Convissor
f7c269b119
Rename and enhance test for bug 55253 now that bugs web is up.
2011-07-20 18:24:14 +00:00
Pierre Joye
b03817afb5
- re apply the rng change specific to windows, long term it should be a std function but as this function was badly introduced in the 1st place, we have to fix the bad things here instead, pls do not revert again, bad idea.
2011-07-19 23:01:41 +00:00
Scott MacVicar
591e0e446f
Revert change to use a special Windows version of openssl_random_pseudo_bytes().
...
Lets discuss this on internals first. We're advertising something from the OpenSSL library
and then subverting it with another Windows OS call.
What are the implications of this? Should we make this available in ext/standard/ instead?
2011-07-19 22:29:55 +00:00
Scott MacVicar
64a0c79a07
openssl_encrypt() / openssl_decrypt() were flawed and truncated the key to the default size for the case of a variable key length cipher.
...
The result is a key of 448 bits being passed to the blowfish algorithm would be truncated to 128 bit.
Also fixed an error in the zend_parse_parameters() having an invalid character being used.
2011-07-19 22:15:56 +00:00
Felipe Pena
81e8615cc3
- Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4)
2011-07-19 22:12:13 +00:00
Popa Adrian Marius
90737c19e2
Fix for bug http://bugs.php.net/54426
...
Checks for NULL are wrong as the values can be provided by the triggers
2011-07-19 20:23:26 +00:00
Pierre Joye
264e5c0567
- update blowfish to 1.2 (Solar Designer)
2011-07-18 21:26:29 +00:00
Rui Hirokawa
f191ecaa9c
added numeric entities encode/decode in hex format.
2011-07-18 08:21:48 +00:00
Boris Lytochkin
85edf25143
new propery noOIDIncreasingCheck allowing to skip
...
OID increasing check (userful for bogus SNMP agents)
2011-07-17 19:47:24 +00:00
Boris Lytochkin
06c20347ae
swap non_repeaters and max_repetitions in walk query, max_repetitions whould be used more frequently
2011-07-17 18:14:38 +00:00
Boris Lytochkin
cf7724d5a3
fix FR #54502 : allow user to change OID value output mode when SNMP_VALUE_OBJECT is used.
2011-07-17 17:18:31 +00:00
Boris Lytochkin
cc1ccefc0d
backport r313324
2011-07-17 14:06:05 +00:00
Philip Olson
e89370d4dc
Updated is_a() and is_subclass_of() tests as per the removed E_WARNING from r313162 which was inspired by discussion after r312904 and PHP Bug #53727
2011-07-15 19:17:22 +00:00
David Soria Parra
fa79f2f46b
Fix #55212 . Only declare STREAM_PF_INET6 if PHP is compiled with IPv6 support
2011-07-15 15:25:24 +00:00
Scott MacVicar
1bc1d3572f
Fix prototypes for ldap_control_paged_result and fix function name in tests
2011-07-14 18:49:12 +00:00
Pierre Joye
894a746a80
- fix build
2011-07-14 11:12:33 +00:00
Daniel Convissor
12ceab222e
Have test for add/sub/diff one second during DST/ST transition.
2011-07-13 16:22:58 +00:00
Daniel Convissor
8ae7586e87
Add test for constructing times during the dst/st conversion.
2011-07-13 16:21:10 +00:00
Daniel Convissor
292a7936c5
Use datetime examine diff file from 5.3 in 5.4 and trunk.
2011-07-13 16:08:03 +00:00
Etienne Kneuss
0909cafc7d
Fix crash
2011-07-12 21:57:14 +00:00
Etienne Kneuss
fdce66dfd2
Fix #48860 Implement Serialization for DLL
2011-07-12 21:43:17 +00:00
Pierre Joye
dd1a0be3c0
- Fixed bug #55187 , readlink returns weird characters when false result
2011-07-12 15:15:17 +00:00
Christian Stocker
6be6c2d62d
Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs()
...
to define forbidden operations within XSLT stylesheets, default is not to
enable any write operations from XSLT anymore. Bug #54446
(second iteration of the code for trunk, first commit for 5.4 branch)
2011-07-12 04:58:38 +00:00
Stanislav Malyshev
c4197dc35e
MFH
2011-07-12 04:50:24 +00:00
Kalle Sommer Nielsen
9f782a73e8
Changed http_response_code() to be able to set a response code
2011-07-12 03:56:32 +00:00
Christian Stocker
8806c371c8
Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com)
...
(MFT - Merged from Trunk)
2011-07-11 15:18:46 +00:00
Dmitry Stogov
adb87c8d06
Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption)
2011-07-11 09:47:59 +00:00