diff options
-rw-r--r-- | sapi/cgi/cgi_main.c | 3 |
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 |