From: Moriyoshi Koizumi Date: Sat, 17 May 2003 18:47:17 +0000 (+0000) Subject: Fixed bug #23669 X-Git-Tag: RELEASE_1_0_2~774 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb1720a9d72664cd60fdfbd1bf430206ca2507b4;p=php Fixed bug #23669 --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 25f664dde3..adbcd1deff 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -704,7 +704,7 @@ static void init_request_info(TSRMLS_D) } } - if (env_redirect_url) { + if (env_path_translated != NULL && env_redirect_url != NULL) { /* pretty much apache specific. If we have a redirect_url then our script_filename and script_name point to the