From 72eeac2581b47b0b662b1c3a03cf88a7f6939fee Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Mon, 19 Jan 2009 18:17:59 +0000 Subject: [PATCH] MFH: Fix #47149. Remove check for script_filename = path_translated, as this the actual value that we get from apache. --- sapi/cgi/cgi_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.50.1