David Soria Parra
72eeac2581
MFH: Fix #47149 . Remove check for script_filename = path_translated, as this the actual value that we get from apache.
2009-01-19 18:17:59 +00:00
David Soria Parra
aa3fc14911
MFH: Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache).
2009-01-09 22:14:20 +00:00
Sebastian Bergmann
ef49b9a8de
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:17:49 +00:00
Dmitry Stogov
281fb1f2ed
Fixed bug #46366 (bad cwd with / as pathinfo)
2008-11-28 11:56:50 +00:00
Rasmus Lerdorf
058a282133
Potential fix for bug #46525
2008-11-08 22:45:29 +00:00
Arnaud Le Blanc
07fe6986cc
Fixed bug #46379 (Infinite loop when parsing '#' in one line file)
...
# PHP_5_2 only
2008-11-03 23:26:24 +00:00
Arnaud Le Blanc
bb9e8e6924
MFH: Fixed FCGI_GET_VALUES requests ( fixes #45522 )
2008-10-21 16:43:59 +00:00
Ilia Alshanetsky
0621602408
MFB: Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304
...
response code, in cgi sapi)
2008-10-17 01:32:59 +00:00
Dmitry Stogov
f45b732abf
Fixed bug #45860 (header() function fails to correctly replace all Status lines)
2008-09-02 13:22:00 +00:00
Dmitry Stogov
16e6e2f04a
Fixed double call to MSHUTDOWN in case of php-cgi -m
2008-08-15 07:30:31 +00:00
Jani Taskinen
26f13b4b70
MFH: [DOC]- Added methods to change/disable --with-config-file-scan-dir=PATH at
...
MFH: [DOC] startup:
MFH: [DOC]
MFH: [DOC] To disable: Override default php.ini by using both -c and -n with
MFH: [DOC] CGI/CLI or set "PHP_INI_SCAN_DIR" environment variable
MFH: [DOC] to an empty string.
MFH: [DOC]
MFH: [DOC] To change: Simply set "PHP_INI_SCAN_DIR" environment variable to point
MFH: [DOC] to another path.
MFH: - Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=/some/path)
MFH: - Implemented FR #45114 (Option to change --with-config-file-scan-dir)
2008-08-13 01:01:29 +00:00
Dmitry Stogov
f4617349f8
Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots))
2008-07-15 13:38:29 +00:00
Dmitry Stogov
51619fa391
Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown before shutdown) (basant dot kukreja at sun dot com)
2008-07-15 13:10:07 +00:00
Dmitry Stogov
a548d2f19b
Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script)
2008-04-09 09:16:40 +00:00
Ilia Alshanetsky
9c3f699ed8
Fixed security issue detailed in CVE-2008-0599
2008-02-28 00:29:29 +00:00
Sebastian Bergmann
d9f3a1305f
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:20:42 +00:00
Dmitry Stogov
b68b2e029c
Fixed weired behavior in CGI parameter parsing
2007-12-03 15:08:01 +00:00
Dmitry Stogov
e468aa44a2
Fixed bug #42848 (Status: header incorrect under FastCGI)
2007-11-01 15:23:14 +00:00
Dmitry Stogov
2e869a00ac
Added CGI SAPI -T option, to measure execution time of script repeated several times.
2007-10-31 18:24:42 +00:00
Dmitry Stogov
b441b275b3
Fixed bug #42699 (PHP_SELF duplicates path)
2007-09-24 11:40:05 +00:00
Dmitry Stogov
96810f0ae6
Fixed bug #42587 (behaviour change regarding symlinked .php files)
2007-09-10 10:55:26 +00:00
Dmitry Stogov
5d238efaa6
Fixed bug #42523 (PHP_SELF duplicates path)
2007-09-05 08:26:32 +00:00
Dmitry Stogov
39bceffc4a
Fixed bug #42453 (CGI SAPI does not shut down cleanly with -i/-m/-v cmdline options)
2007-08-31 12:17:52 +00:00
Stanislav Malyshev
50293835bf
remove unneeded variables
2007-08-08 23:51:57 +00:00
Dmitry Stogov
50aef7ec83
- Fixed bug #42198 (SCRIPT_NAME and PHP_SELF truncated when inside a userdir
...
and using PATH_INFO).
- Fixed bug #31892 (PHP_SELF incorrect without cgi.fix_pathinfo, but turning
on screws up PATH_INFO).
2007-08-08 13:01:40 +00:00
Jani Taskinen
9c07366bb0
MFH: fix typos in comments
2007-08-08 10:00:34 +00:00
Dmitry Stogov
e5909f149c
Fixed bug #40419 (Trailing Slash in CGI request don't work)
2007-06-26 14:47:16 +00:00
Dmitry Stogov
5d2180835a
no need to return exit status of the last fastcgi request
2007-06-21 08:40:43 +00:00
Antony Dovgal
5c75e5b4f4
MFH: add missing open_basedir checks to CGI
2007-06-04 15:38:12 +00:00
Dmitry Stogov
e35679618e
Removed deprecated comment
2007-05-28 08:11:59 +00:00
Dmitry Stogov
23409a4bbf
Fixed crash on "php -b 1234 -unknown-option"
2007-05-21 09:08:13 +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
Dmitry Stogov
633aff5541
Fixed bug #41378 (fastcgi protocol lacks support for Reason-Phrase in "Status:" header)
2007-05-15 08:17:08 +00:00
foobar
4f54b301ef
- Fix a possible leak when multiple -c parameters are used
2007-04-17 20:00:53 +00:00
Antony Dovgal
44066f23b7
MFH: fix leak appearing when more than one -f option specified
2007-04-17 18:51:34 +00:00
foobar
2fe7267d53
MFH: Simplify previous patch.
2007-04-15 23:06:08 +00:00
foobar
a40b6f5c4f
- Allow using syntax highlighting under FastCGI mode.
2007-04-15 22:52:07 +00:00
Sara Golemon
52b07d1895
Add missing #if check
2007-03-29 18:47:04 +00:00
Dmitry Stogov
4a119f9a79
Improved FastCGI SAPI to support external pipe and socket servers on win32
2007-03-28 15:39:22 +00:00
Dmitry Stogov
c2a71f8eb1
Return HTTP 403 in case of "access denied".
2007-03-09 16:46:07 +00:00
Ilia Alshanetsky
efad70c2cc
snprintf() -> slprintf()
2007-02-27 03:28:17 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Antony Dovgal
748b6fdeb3
MFH: make use of startup hooks
2007-02-20 19:20:41 +00:00
Ilia Alshanetsky
9ae588dfb1
Fixed strlcat() usage.
...
# Thanks Andi
2007-02-19 23:52:13 +00:00
Dmitry Stogov
2a170f0584
Initialize "retval" on each request
2007-02-19 14:13:02 +00:00
Ilia Alshanetsky
26214fc15f
Eliminate strcat() usage
...
Fixed handling of argv[] for GET
2007-02-18 18:08:22 +00:00
Dmitry Stogov
780c66d14b
Fixed bug #40286 (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed)
2007-02-16 11:30:03 +00:00
Dmitry Stogov
a79d74b694
Fixed bug #40414 (possivle endless fork() loop when running fastcgi)
2007-02-15 12:33:16 +00:00
Dmitry Stogov
d44cb7fa7b
Prevent flush of closed handle on php_module_shutdown()
2007-01-29 19:36:01 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00