Commit Graph

159 Commits

Author SHA1 Message Date
Antony Dovgal
248dc58005 use request encoding when parsing cookies
fixes 14 segfaults in HEAD
2009-05-27 14:53:05 +00:00
Jani Taskinen
3518feae42 ws 2009-05-23 18:52:03 +00:00
Pierre Joye
71a71ad963 - fix build, fix TS build 2009-05-23 18:46:05 +00:00
Andrei Zmievski
afa4e41c2f Implement JIT request decoding support for $_GET and $_POST. 2009-05-23 18:03:27 +00:00
Arnaud Le Blanc
7b4dc185bf Fix memleak on empty GET var (tests/basic/011.phpt) 2009-04-24 15:44:35 +00:00
Kalle Sommer Nielsen
f7373da190 Fixed Windows build, declarations first ladies and gentlemen 2009-03-30 14:21:03 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Arnaud Le Blanc
5317e8adb6 Fix php_u_register_variable_ex(), avoid readding some uninitialized data
after the end of the variable name
2008-09-10 14:12:55 +00:00
Rasmus Lerdorf
c916660f2d Fix the assert 2008-08-30 18:28:48 +00:00
Rasmus Lerdorf
d07786088e Fix for bugs 13961, 39927 and 45947 2008-08-30 16:53:05 +00:00
Jani Taskinen
c9c53d7bcd - Nuketh C++ comments from C files. 2008-08-03 12:12:45 +00:00
Stanislav Malyshev
c5c4b858df MFB: add request_order INI variable to control $_REQUEST content
# if not set (default), variables_order still is used
# request_order accepts G,P and C
2008-03-12 20:53:04 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Antony Dovgal
e593d7d611 add comment (the code is not that obvious indeed) 2007-07-18 11:46:28 +00:00
Antony Dovgal
71d7ee6d33 port the max_input_nesting_level ini option to Unicode mode 2007-06-05 11:24:13 +00:00
Antony Dovgal
ecd414c3b8 no register_globals in HEAD 2007-06-04 07:56:39 +00:00
foobar
feab02f3ed - Improved the error message for exceeding max_input_nesting_level. 2007-06-03 16:53:37 +00:00
Ilia Alshanetsky
7d74c2c3e6 MFB: Improved fix for MOPB-02-2007 2007-06-03 16:19:55 +00:00
Antony Dovgal
39454ffdfa fix compile warning 2007-03-28 09:13:55 +00:00
Stanislav Malyshev
3a0d0d1f2d limit nesting level of input variables 2007-03-02 22:04:46 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Andrei Zmievski
3de95b79c3 Keep CLI args as binary strings. 2006-12-12 18:05:07 +00:00
Ilia Alshanetsky
9901e4a31d MFB:
Fixed handling of multiple cookies with the same name.
	Added support for cookies into run-tests.php
2006-12-09 14:17:17 +00:00
Ilia Alshanetsky
16e11ad947 MFB: Strip leading spaces from cookie names, that can come from multi-cookie
headers where ; can be followed by any number of spaces.
2006-12-09 13:14:06 +00:00
Johannes Schlüter
823681aaa0 - Fix merging of $_REQUEST in unicode mode and remove $GLOBALS check from
register_globals times
2006-10-21 10:01:39 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Antony Dovgal
2c946984da unused variable 2006-08-08 17:05:14 +00:00
Antony Dovgal
dbe2092313 implement zend_unicode_to_string() and zend_string_to_unicode()
part #2 (of 2)
2006-08-08 16:59:11 +00:00
Ilia Alshanetsky
d2579f9dd1 MFB: Fixed bug #38236 (Binary data gets corrupted on multipart/formdata
POST).
2006-07-27 17:14:24 +00:00
Dmitry Stogov
736b8d903b Fixed bug #37276 (problems witch $_POST array) 2006-05-03 11:24:51 +00:00
Dmitry Stogov
83657db8ff Fixed memory leaks 2006-04-18 06:58:54 +00:00
foobar
6af3218f81 more cleanup (lingering ini settings which do not exist anymore, etc.) 2006-04-10 15:09:15 +00:00
Dmitry Stogov
7a6284cef0 Optimization 2006-04-07 13:57:39 +00:00
Dmitry Stogov
00c81b0e49 Fixed register_argc_argv behavior. Now it behave in the same way as before in combinations with variables_order and auto_globals_jit.
$argc and $argv global variables are registered only in CLI mode and under $_SERVER[] in other case. (This is done because register_globals was removed and assumed - off).
2006-03-20 10:18:50 +00:00
Dmitry Stogov
fb7324bb71 Fixed register_argc_argv 2006-03-17 15:04:23 +00:00
Dmitry Stogov
22a7b0c06e Allowed 'auto_globals_jit' work together with 'register_argc_argv' 2006-03-17 08:59:02 +00:00
Dmitry Stogov
22055cb8fd Dropped register_long_arrays, added E_CORE for all dropped setting 2006-03-16 09:44:42 +00:00
Pierre Joye
bb1ec86f9d - remove magic_quotes_gpc, magic_quotes_runtime, magic_quotes_sybase
(calling ini_set('magic_....') returns 0|false
- get_magic_quotes_gpc, get_magic_quotes_runtime are kept but always return false
- set_magic_quotes_runtime raises an E_CORE_ERROR
2006-03-08 00:43:32 +00:00
Pierre Joye
303bfea78f - remove register_globals support (aka "Kill the f***ing thing" :) 2006-03-07 00:20:54 +00:00
Dmitry Stogov
c366cc6d1a Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings 2006-03-02 13:12:45 +00:00
Dmitry Stogov
e3b7f3fd0d Unicode support: MS Visual C compatibility 2006-02-26 11:57:14 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
6da04e6292 pval -> zval (Steph) 2006-02-13 16:35:36 +00:00
Dmitry Stogov
b238135d53 Fixed bug #36205 (Memory leaks on duplicate cookies) 2006-02-13 12:18:31 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Dmitry Stogov
227295a4f1 Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00