]> 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:32 +0000 (18:17 +0000)
committerDavid Soria Parra <dsp@php.net>
Mon, 19 Jan 2009 18:17:32 +0000 (18:17 +0000)
sapi/cgi/cgi_main.c

index 236a0c645f5d78997504d66bef37ce49648a5b35..711f212875fb66cc3a94bb354f55d51c4f009b5e 100644 (file)
@@ -1065,8 +1065,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