cvs: php-src(PHP_5_3) /sapi/cgi cgi_main.c
| From: | David Soria Parra | Date: | Mon, 19 Jan 2009 18:17:32 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /sapi/cgi cgi_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-55767@lists.php.net to get a copy of this message | ||
dsp Mon Jan 19 18:17:32 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/sapi/cgi cgi_main.c
Log:
MFH: Fix #47149. Remove check for script_filename = path_translated, as this the actual value that
we get from apache.
http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.50.2.36&r2=1.267.2.15.2.50.2.37&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.36
php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.37
--- php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.36 Sun Jan 11 08:35:36 2009
+++ php-src/sapi/cgi/cgi_main.c Mon Jan 19 18:17:32 2009
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.36 2009/01/11 08:35:36 dmitry Exp $ */
+/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.37 2009/01/19 18:17:32 dsp Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -1065,8 +1065,7 @@
}
if (env_path_translated != NULL && env_redirect_url != NULL &&
- orig_script_filename != NULL && script_path_translated != NULL &&
- strcmp(orig_script_filename, script_path_translated) != 0) {
+ orig_script_filename != NULL && script_path_translated != NULL) {
/*
pretty much apache specific. If we have a redirect_url
then our script_filename and script_name point to the