Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Pierrick Charron
19ff5b7916
Remove unused variables
2010-06-01 17:13:50 +00:00
Michael Wallner
11d24c1593
* implement new output API, fixing some bugs and implementing some feature
...
requests--let's see what I can dig out of the bugtracker for NEWS--
and while crossing the road:
* implemented new zlib API
* fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)
Thanks to Jani and Felipe for pioneering.
2010-05-31 10:29:43 +00:00
Pierrick Charron
91ee07814e
Remove unused variables
2010-04-27 00:09:55 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Jani Taskinen
af49e58f51
- Reverted r296062 and r296065
2010-03-12 10:28:59 +00:00
Jani Taskinen
06f072cb5e
MFH: Improved / fixed output buffering (Michael Wallner)
2010-03-11 10:24:29 +00:00
Ilia Alshanetsky
6254378830
Fixed bug #50732 (exec() adds single byte twice to $output array).
2010-01-13 13:44:58 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Ilia Alshanetsky
31729738c7
Fixed bug #49847 (exec() fails to return data inside 2nd parameter, given output lines >4095 bytes).
2009-10-14 01:32:07 +00:00
Pierre Joye
ea81bfcf7a
- MFB: #45997 , safe_mode bypass with exec/sytem/passthru (windows only)
2009-04-30 15:25:37 +00:00
Ilia Alshanetsky
bd7f4375a3
Fixed bug #47937 (system() calls sapi_flush() regardless of output
...
buffering)
2009-04-19 14:59:52 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
c0c9fb9def
- Revert
2008-10-16 13:00:27 +00:00
Alexey Zakhlestin
e06765b9c5
Fixed compilation warnings: tsrm_ls is not used here (anymore?)
2008-10-16 11:59:37 +00:00
Pierre Joye
61c4fee6b0
- [DOC] MFH: improve fix for #43261 for % and "
2008-08-17 15:23:45 +00:00
Scott MacVicar
8d3bfaa01f
Fix windows build error.
2008-07-22 21:53:53 +00:00
Scott MacVicar
d8d69652dd
MFH: Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows.
2008-07-22 16:21:16 +00:00
Scott MacVicar
4ae8e34bf4
MFH Fixed bug #43261
...
(Use ^ as an escape character for Windows escapeshellcmd)
2008-05-30 16:56:57 +00:00
Felipe Pena
3230a77d89
MFB: Fixed bug #44564 (escapeshellarg removes UTF-8 multi-byte characters)
2008-03-30 12:24:10 +00:00
Antony Dovgal
96c2b045ff
fix ZTS build
2008-03-21 08:28:24 +00:00
Ilia Alshanetsky
74b5cfdea5
Refine fix for multibyte char hanling inside command names and args
2008-03-20 23:25:31 +00:00
Felipe Pena
01dc595706
Fix build
2008-03-18 00:24:21 +00:00
Ilia Alshanetsky
9227974ddb
Properly address incomplete multibyte chars inside escapeshellcmd()
2008-03-17 23:01:27 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Jani Taskinen
1eb067476f
MFH: sync
2007-11-05 14:06:53 +00:00
Jani Taskinen
6723ed1db3
MFH: Nuked ending dots from error messages
2007-09-30 05:49:45 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Marcus Boerger
5a69b29082
- Warning fixes by Steph
2006-02-26 10:57:00 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
d0a54af4c5
MFH: Nuke php3 legacy
2005-12-05 22:54:01 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
917648a232
Fixed possible un-initialized var on error.
2005-02-06 22:58:46 +00:00
Ilia Alshanetsky
11371cd0a8
Missing patch.
2004-07-12 18:49:47 +00:00
Ilia Alshanetsky
3e0cbfb077
Fixed command line escaping routines for win32.
2004-05-18 13:43:24 +00:00
Ilia Alshanetsky
17d420e5f7
Fixed bug #26938 (exec() has problems reading long lines).
2004-01-21 16:57:13 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Derick Rethans
112f424f70
- Fixed bug #26615 (patch by runekl at opoint dot com)
2003-12-13 18:55:53 +00:00
Ilia Alshanetsky
2b7b909e16
Fixed bug #26285 (escapeshellarg() uses wrong quotes on windows).
2003-11-19 15:34:30 +00:00
Hartmut Holzgraefe
075e66cc08
signed/unsigned compiler warning fixes
2003-09-26 08:09:56 +00:00
Sascha Schumann
6a7dde29e7
kill warnings
2003-08-28 16:28:33 +00:00
Ilia Alshanetsky
ed40ae2650
emalloc -> safe_emalloc
2003-08-11 23:16:54 +00:00
Zeev Suraski
522bcba0a8
Fix docline
2003-08-07 15:51:05 +00:00
Ilia Alshanetsky
02e0e08958
Fixed bug #18291 (escapeshellcmd() can now handle quoted arguments).
2003-08-05 20:15:53 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Moriyoshi Koizumi
0c5548e636
Fixed implicit cast issue with is*() and to*() functions
2003-04-16 21:40:48 +00:00
Ilia Alshanetsky
695ae92c97
1) Make the output of system() binary safe
...
2) Solved a memory leak when the return_value variable passed by reference is
not an integer in system()/exec()/passthru().
3) Solved a bug in exec(), which would make it append to the 2nd parameter
(passed by reference) if the parameter is an array instead of overwriting it.
4) Changed the code to use the streams code, resulting in a smaller code base.
5) Various cleanups resulting in reduction of overall code base inside the file
by ~ 1/3.
6) Speed improvements of ~2.5 times compared to previous performance (based on
attached PHP script).
2003-02-26 22:11:12 +00:00
Ilia Alshanetsky
aee0c18bde
Made shell_exec() use streams, this simplifies the code and in some cases
...
makes it a little faster too.
2003-02-25 23:52:34 +00:00
Ilia Alshanetsky
f29964e2ba
Fixed bug #22414 and added a test case for it.
2003-02-25 16:21:00 +00:00
Ilia Alshanetsky
3bff5c0419
Fixed bug #22308 (optimized passthru, code is now ~40 times faster).
2003-02-20 00:32:51 +00:00