summaryrefslogtreecommitdiff
path: root/main/php_variables.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #32802 (broken MFH)Ilia Alshanetsky2005-05-171-0/+14
|
* I am reverting this patch:Rasmus Lerdorf2005-05-131-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | | http://cvs.php.net/diff.php/php-src/main/php_variables.c?r1=1.45.2.9&r2=1.45.2.10&ty=u It consistently causes this segfault: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 2837)] 0x405313ff in zend_hash_find (ht=0x8266682, arKey=0x8266660 "fud_session_1109269364_referer_id", nKeyLength=34, pData=0x0) at /home/rasmus/php43/Zend/zend_hash.c:897 897 *pData = p->pData; (gdb) bt #0 0x405313ff in zend_hash_find (ht=0x8266682, arKey=0x8266660 "fud_session_1109269364_referer_id", nKeyLength=34, pData=0x0) at /home/rasmus/php43/Zend/zend_hash.c:897 #1 0x4050c39c in php_register_variable_ex (var=0x8266660 "fud_session_1109269364_referer_id", val=0xbffff730, track_vars_array=0x823e908) at /home/rasmus/php43/main/php_variables.c:201 #2 0x4050c031 in php_register_variable_safe (var=0x823e908 "?m\031\b", strval=0x0, str_len=0, track_vars_array=0x823e908) at /home/rasmus/php43/main/php_variables.c:56 #3 0x4050c6fb in php_default_treat_data (arg=2, str=0x0, destArray=0x823e908) at /home/rasmus/php43/main/php_variables.c:318 #4 0x40502af2 in php_hash_environment () at /home/rasmus/php43/main/main.c:1442 #5 0x4050187f in php_request_startup () at /home/rasmus/php43/main/main.c:936 #6 0x4053e746 in apache_php_module_main (r=0x818c894, display_source_mode=0) at /home/rasmus/php43/sapi/apache/sapi_apache.c:33 #7 0x4053f1e9 in send_php (r=0x818c894, display_source_mode=0, filename=0x0) at /home/rasmus/php43/sapi/apache/mod_php4.c:621 #8 0x4053f36d in send_parsed_php (r=0x823e908) at /home/rasmus/php43/sapi/apache/mod_php4.c:636
* MFH: Revert. Nokia didn't pay me enough. :)foobar2005-04-251-1/+1
|
* MFH: Fixed bug #32802 (General cookie overrides more specific cookie).Ilia Alshanetsky2005-04-241-2/+13
|
* MFH: - Fixed bug #32111 (Cookies can also be separated by colon)foobar2005-04-231-1/+1
|
* MFH: fix bug #30442 ( segmentation fault when parsing ?getvariable[][ )Antony Dovgal2004-10-181-1/+5
|
* Stop at the index on an unmatched [Rasmus Lerdorf2004-09-091-1/+1
|
* MFH: Fixed bug #25836 (last key of multi-dimensional array passed via GPCIlia Alshanetsky2003-10-141-1/+7
| | | | | not being escaped when magic_quotes_gpc is on).
* MFH: Fixed bug #24208Ilia Alshanetsky2003-06-161-0/+2
|
* MFH: Fixed bug #24007 (Problem with register_globals & arrays)Ilia Alshanetsky2003-06-141-22/+1
|
* MFH: Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* MFHIlia Alshanetsky2002-12-301-17/+26
|
* MFHIlia Alshanetsky2002-12-071-6/+6
|
* make php_import_environment_variables overwritable so fastcgi can correctlyShane Caraveo2002-10-131-2/+4
| | | | | set $_ENV.
* Fix last commit. This line isn't supposed to be replaced.Yasuo Ohgaki2002-09-081-1/+1
|
* MFBYasuo Ohgaki2002-09-071-1/+2
|
* use php_error_docref()Marcus Boerger2002-08-251-1/+1
|
* Add some assertionYasuo Ohgaki2002-08-081-1/+4
|
* made sapi_register_treat_data() to support multibyte input encoding ↵Rui Hirokawa2002-08-021-2/+1
| | | | translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data.
* Fix for non-mbstring builds. Bad Yasuo! :)Zeev Suraski2002-07-311-3/+2
|
* Fixed some.php?a&b&c does not initilize $_GET['a'], $_GET['b'], $_GET['c']Yasuo Ohgaki2002-07-281-0/+3
| | | | | | when mbstr-enc-trans is disabled. # There is a bug in php_mbstr_encoding_handler() alo, I'll fix it later.
* break out if there is no data to work on.Stefan Esser2002-07-241-0/+4
|
* free_index is set but never usedSascha Schumann2002-05-041-2/+0
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* whitespaceZeev Suraski2001-11-241-0/+1
|
* Back-substitute for Z_* macro's. If it breaks some extension (the script ↵Jeroen van Wolffelaar2001-09-251-9/+9
| | | | isn't optimal, it parses for example var->zval.value incorrect) please let me know.
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* fix SAPI_POST_* exportsDaniel Beulshausen2001-08-151-1/+1
|
* more tsrm cleanupSascha Schumann2001-08-061-2/+2
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-13/+11
|
* - Get rid of ELS_*(), and use TSRMLS_*() instead.Zeev Suraski2001-07-271-11/+12
| | | | | | | - Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
* Fix folding and clean up some extensionsRasmus Lerdorf2001-06-061-1/+2
|
* vim-6 does folding - clean up a bunch of missing folding tags plusRasmus Lerdorf2001-06-051-0/+1
| | | | | some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
* fixed typo in CVS idfoobar2001-04-061-1/+1
|
* Added new configuration directives:foobar2001-04-041-2/+16
| | | | | arg_separator.input and arg_separator.output
* Cookies use ; as argument separator.foobar2001-04-041-4/+5
| | | | | # And also the first step for the possible configure option
* Fix the arg_separator behaviour. Only & or ; is allowed as separators so no ↵foobar2001-03-271-13/+2
| | | | need to use the ini setting here.
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* Fix #7987: POST/GET: string with \0(%00) values not parsed correctlyStanislav Malyshev2000-12-121-8/+15
|
* @- In CGI mode, $HTTP_SERVER_VARS now includes all of the environment variablesZeev Suraski2000-11-071-7/+1
| | | | | @ as well (Zeev)
* Const'ify part of sapi_request_info.Sascha Schumann2000-11-021-6/+7
| | | | | | query_string, post_data, path_translated, request_uri, auth_user, auth_password and argv0 are modified, so they cannot become const.
* Add additional parameter to parse_str for saving result (thanks toStanislav Malyshev2000-09-111-2/+2
| | | | | | John Bafford <dshadow@zort.net>) @ Added second parameter for parse_str to save result (John Bafford)
* - Remove track_vars - it is now always onZeev Suraski2000-09-051-25/+19
| | | | | | | - Make the various $HTTP_*_VARS[] arrays be defined always, even if they're empty - Fix Win32 build and warnings
* Cleaning up some messSascha Schumann2000-08-211-0/+1
|
* Update the license with the new clause 6Zeev Suraski2000-05-181-2/+2
|
* Change reentrancy API to always use the php prefix.Sascha Schumann2000-05-041-7/+7
| | | | | | Check for the declaration of reentrant functions, so that we can use them in non-ZTS mode on all platforms.
* - Nuke hash_*_ptr() functionsAndi Gutmans2000-03-241-2/+2
|
* @- Switched back to the old $HTTP_*_VARS[] behavior - $HTTP_GET_VARS["foo"]Zeev Suraski2000-02-281-1/+0
| | | | | | @ and $foo are no longer references to each other, but separate variables @ like they were prior to PHP 4.0 Beta 4 (Zeev)
* @- The various $HTTP_*_VARS[] are now protected, and cannot be manipulated byZeev Suraski2000-02-261-14/+4
| | | | | | @ user input (Zeev) This patch is untested! I'll only have time to test it thoroughly in a couple of hours...
* @- Fixed crash when magic_quotes were switched off. (Thies)Thies C. Arntzen2000-02-211-1/+1
|