From bb1720a9d72664cd60fdfbd1bf430206ca2507b4 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Sat, 17 May 2003 18:47:17 +0000 Subject: [PATCH] Fixed bug #23669 --- sapi/cgi/cgi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1