diff options
Diffstat (limited to 'ext/hyperwave/hw.c')
| -rw-r--r-- | ext/hyperwave/hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c index 8a813dde86..f2380dde05 100644 --- a/ext/hyperwave/hw.c +++ b/ext/hyperwave/hw.c @@ -1532,7 +1532,7 @@ void php3_hw_getcgi(INTERNAL_FUNCTION_PARAMETERS) { #else sprintf(cgi_env_str, "CGI_REQUEST_METHOD=%s\nCGI_PATH_INFO=%s\nCGI_QUERY_STRING=%s", request_info.request_method, - request_info.path_info, + SG(request_info).request_uri, SG(request_info).query_string); #endif /* !!!! memory for object and attributes is allocated with malloc !!!! */ @@ -1784,7 +1784,7 @@ void php3_hw_pipecgi(INTERNAL_FUNCTION_PARAMETERS) { #else sprintf(cgi_env_str, "CGI_REQUEST_METHOD=%s\nCGI_PATH_INFO=%s\nCGI_QUERY_STRING=%s", request_info.request_method, - request_info.path_info, + SG(request_info).request_uri, SG(request_info).query_string); #endif /* !!!! memory for object, bodytag and attributes is allocated with malloc !!!! */ |
