]> granicus.if.org Git - php/commitdiff
MFH: Fix #47149. Remove check for script_filename = path_translated, as this the...
authorDavid Soria Parra <dsp@php.net>
Mon, 19 Jan 2009 18:17:59 +0000 (18:17 +0000)
committerDavid Soria Parra <dsp@php.net>
Mon, 19 Jan 2009 18:17:59 +0000 (18:17 +0000)
sapi/cgi/cgi_main.c

index d0a26891865618f056bcb9dbc93462b5d0b8ca40..d621ec96a69827d1191770dfcf5f62a751ce3a11 100644 (file)
@@ -961,8 +961,7 @@ static void init_request_info(TSRMLS_D)
                        }
 
                        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