Antony Dovgal
f3cd7fdda4
fix ZTS build for 5_3, too
2011-05-01 19:46:27 +00:00
Gustavo André dos Santos Lopes
a2e0e2564d
- Fixed bug #54580 (get_browser() segmentation fault when the browscap ini
...
directive is set in activation time). This commit fixes this by adding a per
request parsing of the browscap file that's when get_browser is called the
first time and the directive is set on activation time.w
2011-05-01 18:37:20 +00:00
Gustavo André dos Santos Lopes
6df67ace20
- Fixed bug #54623 (Segfault when when writing to a persistent socket after
...
closing a copy of the socket).
2011-05-01 03:57:01 +00:00
Rasmus Lerdorf
8192ba2b60
Someone fixed these in trunk and didn't backport to PHP_5_3
2011-04-27 05:05:32 +00:00
Pierrick Charron
1153eaf505
Revert bug #54454 fix from PHP_5_3 branch to avoid BC break in minor release
2011-04-21 01:51:24 +00:00
Felipe Pena
782c00d744
- Remove undesired line (reported by Gökhan Özbulak)
2011-04-13 13:38:52 +00:00
Stanislav Malyshev
2e206e0761
fix bug #54238 (use-after-free in substr_replace())
2011-04-13 06:32:41 +00:00
Adam Harvey
840308cfd0
Implement FR #54459 (Range function accuracy) by changing the way range()
...
calculates values when used with floating point bounds/step.
2011-04-06 10:23:06 +00:00
Adam Harvey
f9721d03f7
Fix duplicated test.
2011-04-06 10:16:14 +00:00
Pierrick Charron
e8486cc374
Fix common typos in the source code (Reported in Bug #54065 )
...
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Pierrick Charron
4919f3286b
Fixed bug #54454 (substr_compare incorrectly reports equality in some cases)
2011-04-03 07:18:27 +00:00
Pierrick Charron
5a53a74304
Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment)
2011-03-17 18:02:58 +00:00
Pierrick Charron
e68e2893c0
# Revert bug fix (will commit it again on 5.3 branch when 5.3.6 will be released)
2011-03-13 17:14:18 +00:00
Pierrick Charron
ee832705d1
Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment)
2011-03-13 04:02:56 +00:00
Eyal Teutsch
94b3d60a4f
fixed tests to match the new float precision of 53, as described in bug 47168
2011-03-10 13:25:19 +00:00
Gustavo André dos Santos Lopes
f657ba978b
- Fixed bug #54092 (Segmentation fault when using HTTP proxy with the FTP
...
wrapper).
#php_stream->wrapperdata should hold an array zval (like its zval* type
#indicates...), it's not a place where the wrapper can drop an arbitrary
#pointer. For that, .wrapperthis should be used.
#Also, since the ftp dir wrapper defines its own stream type, it's more
#appropriate to use .abstract to store the stream instance specific data.
2011-02-27 20:23:54 +00:00
Gustavo André dos Santos Lopes
1b2d14c5e1
- Fixed bug #54055 (buffer overrun with high values for precision ini
...
setting).
#This fix (for g/G/k/H modes) is done at a different level than that for the
#modes e/E/f/F, at a bit higher level and therefore with less coverage. I
#chose this because it addresses the problem where it is -- the calling function
#that passes a buffer too small to php_gcvt.
2011-02-21 06:53:24 +00:00
Gustavo André dos Santos Lopes
6dfee4f877
- Changed default serialize_precision from 100 to 17, as discussed in internals.
2011-02-08 21:40:51 +00:00
Gustavo André dos Santos Lopes
6fba6737d5
- Fixed bug #53959 (reflection data for fgetcsv out-of-date).
2011-02-08 16:29:34 +00:00
Ilia Alshanetsky
145c4cbc56
Fixed parse_url() tests to account for port validation
2011-02-06 17:23:57 +00:00
Gustavo André dos Santos Lopes
a888ee434b
- Changed port validation introduced in commit #308035 to consider
...
negative ports and ports > 65535 as invalid.
The tests that fail due to #308035 in the standard ext were not
fixed. If the behavior in those tests turns out to be the
desirable one, both this commit and #308035 ought to be reverted
or at least adapted.
2011-02-05 22:37:00 +00:00
Ilia Alshanetsky
218448bfa0
Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number).
2011-02-04 21:41:15 +00:00
Adam Harvey
521e5462ab
Fix bug #53913 (Streams functions assume HAVE_GLOB is defined). Patch by Chris
...
Jones.
2011-02-04 10:47:41 +00:00
Gustavo André dos Santos Lopes
36d82e8a85
- Fixed bug #53903 (userspace stream stat callback does not separate the
...
elements of the returned array before converting them).
2011-02-01 22:55:17 +00:00
Gustavo André dos Santos Lopes
da0e2a416f
- Fixed several comparisons that always result in true of false
...
due to signedness of one of the operands, either by removing
dead code or fixing it.
- Thrown some comments around in php_stream_get_record.
- See http://www.mail-archive.com/internals@lists.php.net/msg49525.html
2011-02-01 18:10:35 +00:00
Dmitry Stogov
e9c6830e16
Added ability to connect to HTTPS sites through proxy with basic authentication using stream_context/http/header/Proxy-Authorization
2011-01-28 10:33:47 +00:00
Ilia Alshanetsky
df5f8c91ce
Fixed compiler warning
2011-01-17 13:44:54 +00:00
Stanislav Malyshev
9acdcd93a7
revert non-BC change in 5.3
2011-01-13 07:27:46 +00:00
Ilia Alshanetsky
c83278ef22
Fixed variable re-declaration
2011-01-12 13:21:27 +00:00
Rui Hirokawa
279a65eb09
MFH: added an option to http_build_query for RFC-3986
...
based url-encoding.
2011-01-08 02:34:33 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Gustavo André dos Santos Lopes
5eb264677c
- Do not violate php_stream abstraction and use php_stream_tell instead of accessing the field .position.
...
#Should have no behavior changes.
2010-12-30 19:00:19 +00:00
Jani Taskinen
9cb1b1e948
- Update credits
2010-12-17 10:49:02 +00:00
Jani Taskinen
4a8438b3e1
- Revert
2010-12-17 10:43:52 +00:00
Hannes Magnusson
6f94e2dd2a
Throw some credit around
2010-12-17 10:16:50 +00:00
Ilia Alshanetsky
07607df542
Fixed compiler warning
2010-12-14 17:01:54 +00:00
Pierre Joye
aea6771d19
- add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :)
2010-12-13 18:43:10 +00:00
Ilia Alshanetsky
8afdb7cd49
Fixed bug #48607 (fwrite() doesn't check reply from ftp server before exiting)
2010-12-13 16:53:26 +00:00
Gustavo André dos Santos Lopes
75de05cead
- Fixed bug #53530 (php_crypt tests gcc version incorrectly due to
...
typo) (vapier at gmail dot com)
2010-12-12 22:27:02 +00:00
Ilia Alshanetsky
82287511ad
Fixed bug 48484 (array_product() always returns 0 for an empty array).
2010-12-12 19:27:04 +00:00
Gustavo André dos Santos Lopes
ff77814d03
- Tests and small parsing correction for php://fd wrapper
2010-12-11 02:08:02 +00:00
Gustavo André dos Santos Lopes
3c8c56fb98
- Implemented request #26158/bug #53465 (open arbitrary file descriptor with fopen)
2010-12-11 01:52:13 +00:00
Felipe Pena
75eeee8f24
- Fixed test (Eyal Teutsch)
2010-12-04 15:57:08 +00:00
Jani Taskinen
85ef85a0b4
- Fix test
2010-12-03 16:02:47 +00:00
Ilia Alshanetsky
3239a25e53
Missing bit from previous commit
2010-11-26 21:00:03 +00:00
Ilia Alshanetsky
f28cff1925
Fixed bug #52327 (base64_decode() improper handling of leading padding in strict mode)
2010-11-26 20:59:13 +00:00
Ilia Alshanetsky
523da85c11
Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits)
2010-11-25 21:38:06 +00:00
Gustavo André dos Santos Lopes
05abc63d14
- Fixed bug #53403 (use of unitialized values). Fixes the fix for bug #46587 .
...
- Added test for bug #46587 .
2010-11-25 16:44:20 +00:00
Felipe Pena
a9a2eb4a14
- Fixed compile warnings
2010-11-23 21:49:18 +00:00
Ilia Alshanetsky
4f3ab10786
Fixed bug #46587 (mt_rand() does not check that max is greater than min).
2010-11-23 13:09:15 +00:00