Commit Graph

36119 Commits

Author SHA1 Message Date
Hannes Magnusson
194044bbdb Mention json nesting dept bump 2007-05-25 12:35:33 +00:00
Hannes Magnusson
ad57583ba4 This test should only test failures 2007-05-25 12:31:03 +00:00
Hannes Magnusson
993b66b4c8 Fix test after stack limit bump 2007-05-25 12:15:38 +00:00
Rasmus Lerdorf
6e0d643783 Slightly cleaner code 2007-05-25 09:20:01 +00:00
Rasmus Lerdorf
f6bffb69c5 Optimize sapi_get_request_time() slightly making it use the cached time
and also checking if there is a server_context before trying to call
the request_time sapi hook.
2007-05-25 09:12:35 +00:00
Ilia Alshanetsky
9998f67c91 Back to dev 2007-05-25 00:07:57 +00:00
Ilia Alshanetsky
f0b7941067 5.2.3RC1 2007-05-25 00:05:30 +00:00
foobar
a894611636 - Unify installation of SAPIs: CGI is no exception anymore. 2007-05-24 23:29:59 +00:00
Rasmus Lerdorf
c7069887a4 Make the code match the commit comment 2007-05-24 22:40:02 +00:00
Rasmus Lerdorf
464d87e58b I don't see any reason to leave the stack limitation at 20. We have
reports of this limit being hit now and as far as I can tell bumping it
to 128 isn't going break anything in the parser code.
2007-05-24 22:37:59 +00:00
foobar
efcdcd80b6 - Allow build without flex/bison installed (fixes builddir != srcdir build
when using distributed sources which inlude pre-generated bison/flex
  output. See bug #38762 for more..)
2007-05-24 21:40:41 +00:00
Rasmus Lerdorf
2fba3bf13b Uh, only meant to remove the null check, not the assignment 2007-05-24 21:29:27 +00:00
Rasmus Lerdorf
61b06f1527 Avoid running off the end of a non-null terminated string. Not that we
should have any of those, but a mistake in an extension could hit this
and the check doesn't actually make any sense as far as I am concerned.
2007-05-24 20:53:05 +00:00
foobar
5603bef272 - Fix previous fix. (just revert of Stefan's bad fix..) 2007-05-24 19:52:03 +00:00
foobar
91d98d2986 - Fix idiotic change in logic. (hint: flex is _REQUIRED_ for building PHP! 2007-05-24 19:35:46 +00:00
Dmitry Stogov
9bca44df22 Impoved error reporting on parser errors (Matt, Dmitry) 2007-05-24 08:56:35 +00:00
Ilia Alshanetsky
6f694fab9a Simplify code 2007-05-23 15:01:00 +00:00
Hannes Magnusson
a6a989d44c new curl constants 2007-05-22 19:31:07 +00:00
Antony Dovgal
9a37c5588c fix tests 2007-05-22 16:58:33 +00:00
Antony Dovgal
d14d148f66 fix test 2007-05-22 16:52:58 +00:00
Hannes Magnusson
77fda18119 Add entry about --ini 2007-05-22 16:38:50 +00:00
Raghubansh Kumar
17a6ac36da New version of gettype_settype_variation1.phpt gettype_settype_variation6.phpt
gettype_settype_variation2.phpt  gettype_settype_variation7.phpt      gettype_settype_variation3.phpt  gettype_settype_variation8.phpt
gettype_settype_basic.phpt  gettype_settype_variation4.phpt
gettype_settype_error.phpt  gettype_settype_variation5.phpt
2007-05-22 16:01:59 +00:00
Raghubansh Kumar
9f5016ef7b New version of basename_basic.phpt, basename_error.phpt, basename_variation.phpt 2007-05-22 15:59:04 +00:00
Hannes Magnusson
13feaf3620 Ladies and gentelmens,
I bring you our new documentation editor....
Philip Olson!
2007-05-22 15:44:11 +00:00
Hannes Magnusson
cdd37424a8 Update proto&arginfo for double_encode in htmlspecialchars()&htmlentities() 2007-05-22 15:38:27 +00:00
Pierre Joye
c1ba2927aa - add cve ref 2007-05-22 15:17:03 +00:00
Antony Dovgal
a69e6e2c79 MFH: improve variable name checks
add more tests
2007-05-22 14:34:23 +00:00
Hannes Magnusson
b4eb20c8aa Add max_input_nesting_level 2007-05-22 13:27:16 +00:00
Ilia Alshanetsky
c98cbb6020 [DOC] Added a 4th parameter flag to htmlspecialchars() and htmlentities()
that makes the function not encode existing html entities. The feature is
disabled by default and can be activated by passing FALSE as the 4th param
2007-05-22 12:37:00 +00:00
Timm Friebe
43fccbf2b9 - Changed hardcoded "tempdb" database name to a constant 2007-05-22 12:16:32 +00:00
Timm Friebe
090cee2bdc - Fixed expectancy in for SQL query <select convert(datetime, "notadate")>
This query should return bool(false) and not a resource() because
  the above is a syntax error
# Exact message yielded by SQL server is the following:
# "Syntax error during explicit conversion of VARCHAR value `notadate`
# to a DATETIME field.
2007-05-22 11:38:57 +00:00
Timm Friebe
9181a464fe - Added constant TEMPDB, defaulting to "tempdb"
# This constant is used by some of the tests and should point
# to a database where the user has create proc|table permissions
2007-05-22 11:36:55 +00:00
Timm Friebe
6218d2d998 - Changed hardcoded "tempdb" database name to a constant
# This constant is defined in test.inc and defaults to "tempdb"
# In certain setups, create procedure permissions may not be granted
# in tempdb
2007-05-22 11:35:47 +00:00
Timm Friebe
680735fce8 - Fixed tests on Windows
# The tests expected %s/test.inc in warnings and notices, but of course,
# on Windows, the directory separator is a backslash.
# Made this work in both worlds by testing for %stest.inc
2007-05-22 11:33:36 +00:00
Antony Dovgal
083844f847 MFH: fix #41442 (imagegd2() under output control) 2007-05-22 10:22:49 +00:00
Sara Golemon
5040dbd5e8 MFH(r-1.112) Add CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS option constants 2007-05-22 08:39:20 +00:00
Ilia Alshanetsky
89d57c7c67 Fixed typos 2007-05-21 16:50:03 +00:00
Michael Wallner
5fdcc761a1 - first check the SSL lib string in libcurl and then the header 2007-05-21 13:32:35 +00:00
Dmitry Stogov
7d1dbff79d Fixed bug #41337 WSDL parsing doesn't ignore non soap bindings 2007-05-21 13:13:50 +00:00
Antony Dovgal
007bac315d MFH: fix #41455 (ext/dba/config.m4 pollutes global $LIBS and $LDFLAGS) 2007-05-21 11:38:53 +00:00
Dmitry Stogov
23409a4bbf Fixed crash on "php -b 1234 -unknown-option" 2007-05-21 09:08:13 +00:00
Dmitry Stogov
3040a34b21 libfcgi cleanup (Andrei Nigmatulin) 2007-05-21 08:47:51 +00:00
Antony Dovgal
04aefb4e18 MFH 2007-05-21 07:12:41 +00:00
Marcus Boerger
a4e3f29771 - MFH Add print_htptr, print_htstr 2007-05-20 21:46:17 +00:00
Ilia Alshanetsky
30dd6a45d3 Fixed a possible crash when PATH_INFO is not provided but the path contains
path info information
2007-05-20 15:56:10 +00:00
Pierre Joye
b65cdd0793 - use the same checks for zip_stat 2007-05-19 22:25:11 +00:00
Pierre Joye
26e22f34fa - #41423. PHP assumes wrongly that certain ciphers are enabled in OpenSSL 2007-05-19 22:05:08 +00:00
Ilia Alshanetsky
b828d1939f Optimized digest generation in md5() and sha1() functions by using code
from ext/hash. This makes the functions 20-50% faster on short strings.
2007-05-19 20:30:35 +00:00
Michael Wallner
a349109e42 - fix compile/linker agnostic runpath switch 2007-05-19 19:36:11 +00:00
Ilia Alshanetsky
c009fc8915 CS fixes
Fixed a possible crash in the event directory cannot be created, due to a
double free.
2007-05-19 19:29:37 +00:00