dsp             Mon Jan 19 18:16:53 2009 UTC

  Modified files:              
    /php-src/sapi/cgi   cgi_main.c 
  Log:
  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.375&r2=1.376&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.375 php-src/sapi/cgi/cgi_main.c:1.376
--- php-src/sapi/cgi/cgi_main.c:1.375   Sun Jan 11 08:35:53 2009
+++ php-src/sapi/cgi/cgi_main.c Mon Jan 19 18:16:52 2009
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: cgi_main.c,v 1.375 2009/01/11 08:35:53 dmitry Exp $ */
+/* $Id: cgi_main.c,v 1.376 2009/01/19 18:16:52 dsp Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -1063,8 +1063,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



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to