summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-05-17 18:47:17 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-05-17 18:47:17 +0000
commitbb1720a9d72664cd60fdfbd1bf430206ca2507b4 (patch)
tree8d9376eb6c5c7248d41b80721ffa8d04f0ad3cbf /sapi
parent2d64d3aff5fdac7245055e0e5d3ec5baf652f2e9 (diff)
downloadphp-git-bb1720a9d72664cd60fdfbd1bf430206ca2507b4.tar.gz
Fixed bug #23669
Diffstat (limited to 'sapi')
-rw-r--r--sapi/cgi/cgi_main.c2
1 files changed, 1 insertions, 1 deletions
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