]> granicus.if.org Git - php/commitdiff
Fixed bug #23669
authorMoriyoshi Koizumi <moriyoshi@php.net>
Sat, 17 May 2003 18:47:17 +0000 (18:47 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Sat, 17 May 2003 18:47:17 +0000 (18:47 +0000)
sapi/cgi/cgi_main.c

index 25f664dde3422fe0372cd266a85c876395aea5a4..adbcd1defff0f5987979482403e67e0343bd0228 100644 (file)
@@ -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