From: David Soria Parra Date: Mon, 19 Jan 2009 18:17:59 +0000 (+0000) Subject: MFH: Fix #47149. Remove check for script_filename = path_translated, as this the... X-Git-Tag: php-5.2.9RC1~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72eeac2581b47b0b662b1c3a03cf88a7f6939fee;p=php MFH: Fix #47149. Remove check for script_filename = path_translated, as this the actual value that we get from apache. --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index d0a2689186..d621ec96a6 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -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