Mikko Koppanen
1e6695feb7
spprintf the dbname
...
use VCWD_ACCESS instead of access
2009-12-27 00:43:33 +00:00
Rasmus Lerdorf
e9b1ab57a4
Along with the valid char set, also add a length check to the
...
session id here to avoid a lower-level error on the open()
later on in case we exceed MAX_PATH. The lower level open()
error includes the session dir path in it, so this is a very
low-priority security fix. People should not be running
production systems with display_errors turned on.
2009-12-26 23:38:25 +00:00
Mikko Koppanen
1496161f01
Upgrade bundled libmagic to 5.03 (fixes CDF parsing related issues)
...
Clean up / remove whitespace differences to make next merge easier
Removed unnecessary files from trunk
2009-12-26 15:00:21 +00:00
Pierrick Charron
832eb472c5
Changed tidyNode class to disallow manual node creation.
2009-12-25 21:24:36 +00:00
Matteo Beccati
166b3ef63d
Removed spurious high-ascii char from previous commmit
2009-12-25 21:01:06 +00:00
Matteo Beccati
09587d3cbf
- Updated ext/pgsql tests to work w/ PostgreSQL 8.5
...
# tested w/ 8.5alpha3
2009-12-25 20:56:00 +00:00
Matteo Beccati
9326c7e3a2
- Updated pdo_pgsql tests to be 8.5+ friendly
2009-12-25 20:11:07 +00:00
Pierrick Charron
3cc801b9b0
Fixed bug #50558 (Broken object model when extending tidy)
2009-12-25 01:35:57 +00:00
Ilia Alshanetsky
c2296af6a6
Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL.
2009-12-24 18:47:15 +00:00
Mikko Koppanen
207d9133ca
Changed stream_resolve_include_path to use zend_resolve_path
...
backported stream_resolve_include_path to PHP 5.3
backported stream_resolve_include_path test to PHP 5.3
2009-12-24 13:12:03 +00:00
Antony Dovgal
0b8839cd4a
fix the fix for #47409
...
use correct comparison and add missing scope checks to trunk
2009-12-24 13:07:33 +00:00
Sriram Natarajan
d55669c6ab
- Update tests to reflect current behavior after fix for bug #50185
2009-12-24 02:08:23 +00:00
Stanislav Malyshev
882a89fb22
cleanup some code, improve error handling
2009-12-23 21:41:05 +00:00
Jani Taskinen
f0c1cd512f
- ws
2009-12-23 21:06:26 +00:00
Ilia Alshanetsky
12f82ee144
Fixed bug #47409 (extract() problem with array containing word "this").
2009-12-23 16:33:58 +00:00
Andrey Hristov
01adfaee5f
Unify. The typedef-ed structs in mysqlnd are always capitalized.
2009-12-23 11:58:45 +00:00
Johannes Schlüter
c764995c8e
install mysqlnd headers to allow shared build of extensions
2009-12-22 19:30:09 +00:00
Andrey Hristov
c95fa280ed
Fix double calls to free_contents if the connection cannot be
...
opened. mysqlnd have no probs, external code should not have too.
In any case, double call is not needed.
2009-12-22 17:44:42 +00:00
Andrey Hristov
e1251edc16
move state setting to the right place, in mysqlnd_init, no more
...
in mysqlnd::connect
2009-12-22 17:31:31 +00:00
Pierre Joye
9309f2bf64
- fix build and warning (introduced by my last commit)
2009-12-22 14:57:57 +00:00
Moriyoshi Koizumi
7d9a7dbad6
- Fix bug #46478 (htmlentities() uses obsolete mapping table for character
...
entity references)
2009-12-22 05:50:34 +00:00
Ilia Alshanetsky
800519fcbb
Fixed bug #45599 (strip_tags() truncates rest of string with invalid attribute).
2009-12-22 02:04:12 +00:00
Derick Rethans
bfa1c91d9b
- Updated to version 2009.20 (2009t)
2009-12-21 20:46:12 +00:00
Sriram Natarajan
20cd29d0a2
Fixed bug #50540 (Crash within ldap_first_reference function)
2009-12-21 20:39:48 +00:00
Stanislav Malyshev
baaec77e78
clean up normalizer code
2009-12-21 20:12:46 +00:00
Andrey Hristov
41ac91aecf
Move this function to MYSQLND_NET as it works on the
...
php stream
2009-12-21 16:52:10 +00:00
Andrey Hristov
ce349e3540
magic numbers to macros
2009-12-21 16:17:31 +00:00
Andrey Hristov
b4477669b4
Move compression and decompression code to separate functions
...
which can be overloaded on purpose.
2009-12-21 16:09:13 +00:00
Jani Taskinen
d0a956c2b7
- Tune the fix for bug #50508 and make it work with MacOSX, bug #50541 .
2009-12-21 15:22:40 +00:00
Jani Taskinen
52f83608d8
- Fixed bug #50508 (compile fails: Conflicting HEADER type declarations)
...
# NEVER ever include nameser_compat.h, it's included in various ways in different OSes by nameser.h if needed
2009-12-18 11:02:07 +00:00
Pierre Joye
dea1d412e1
- [DOC] add INTERNALDATE to imap_append (will merge to trunk later)
2009-12-17 17:28:26 +00:00
Ulf Wendel
e2a2205a58
Test for what Andrey has found with 16M packets
2009-12-17 14:15:28 +00:00
Andrey Hristov
028bd4ba02
refactoring : move more network related functions to
...
mysqlnd_net.c . Now communication is split on two levels:
- logical (functions send and receive)
- physical (functions network_read and network_write)
2009-12-17 13:29:46 +00:00
Andrey Hristov
22528b14a4
During refactoring of the function mysqlnd_stream_write_w_header() it was
...
found that there is a bug in the way the data is sent, although a very rare
one which will only affect very large queries which have length 16777214. The
communication will hang. A way to test it is to execute the following:
./php -r '$c=mysqli_connect("127.0.0.1","root","root","test");
$q="insert into test.tblob values(\"".str_repeat("a",256*256*256-1-34)."\")";
$c->query($q);'
2009-12-17 12:30:58 +00:00
Andrey Hristov
d233b0b2af
call free_contents in every case, in case something is not freed
...
by the calling code
2009-12-16 14:38:30 +00:00
Andrey Hristov
a1ef2d9fb3
Remove unneeded dereferences
...
(oops, committed the trunk changes from a wrong directory, which splitted
this commit).
2009-12-16 14:06:09 +00:00
Andrey Hristov
b3546d1b5e
move MYSQLND_NET code to a separate file.
...
mysqlnd_wireprotocol is about the protocol not the transport
layer
2009-12-16 12:59:38 +00:00
Pierre Joye
6ec6a9d62e
- add a test case and update the skip clause
2009-12-16 10:09:34 +00:00
Andrey Hristov
5e1c95fda4
remove duplicated code
2009-12-15 17:39:30 +00:00
Andrey Hristov
c101f7f542
Move code out of mysqlnd_conn::connect to mysqlnd_net::connect.
...
Thus mysqlnd_conn::connect() does less of what it should not do - think
about the transport level.
2009-12-15 17:33:06 +00:00
Andrey Hristov
70690e1163
remove C++ comments
2009-12-15 14:48:24 +00:00
Andrey Hristov
523471f7e8
export this function
2009-12-15 14:26:24 +00:00
Andrey Hristov
0371ef1070
refactor: move code that belongs to MYSQLND_NET out of MYSQLND
2009-12-15 13:13:51 +00:00
Ilia Alshanetsky
d0f6848e66
Fixed bu #50392 (date_create_from_format() enforces 6 digits for 'u' format character)
2009-12-15 12:34:12 +00:00
Felipe Pena
c00a91a024
- Added SKIPIF
2009-12-15 00:37:43 +00:00
Felipe Pena
286f36e702
- Fixed memory leak when E_STRICT message is getted
2009-12-14 21:44:56 +00:00
Jani Taskinen
9f210d53cc
- Fix test
2009-12-14 09:42:55 +00:00
Jani Taskinen
16dbf3060b
- Fix test
2009-12-14 09:26:49 +00:00
Pierrick Charron
c2fccc1606
- Fixed bug #50469 (Fixed typo in imagepsencodefont error string).
2009-12-14 04:09:18 +00:00
Pierrick Charron
7d4643193d
- Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures)
2009-12-14 03:44:33 +00:00