summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2009-01-19 18:17:32 +0000
committerDavid Soria Parra <dsp@php.net>2009-01-19 18:17:32 +0000
commit65e3d00366677ff0e012893d529f449777ea06fb (patch)
tree930668bef93ea53e3a726d72370baf9121834d1c
parent71d0cd594c0df1274d5401f2c36203a71cff6111 (diff)
downloadphp-git-65e3d00366677ff0e012893d529f449777ea06fb.tar.gz
MFH: Fix #47149. Remove check for script_filename = path_translated, as this the actual value that we get from apache.
-rw-r--r--sapi/cgi/cgi_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index 236a0c645f..711f212875 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -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