From 4208c264d7755aa540853811d88b71790aeee5cb Mon Sep 17 00:00:00 2001 From: Ben Mansell Date: Tue, 19 Sep 2000 17:34:53 +0000 Subject: Fixed bug which could truncate PHP_SELF --- sapi/isapi/php4isapi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sapi/isapi/php4isapi.c') diff --git a/sapi/isapi/php4isapi.c b/sapi/isapi/php4isapi.c index 61450d0d24..e5c96b8f12 100644 --- a/sapi/isapi/php4isapi.c +++ b/sapi/isapi/php4isapi.c @@ -330,6 +330,7 @@ static void sapi_isapi_register_server_variables(zval *track_vars_array ELS_DC S } /* PHP_SELF support */ + variable_len = ISAPI_SERVER_VAR_BUF_SIZE; #ifdef WITH_ZEUS if (lpECB->GetServerVariable(lpECB->ConnID, "PATH_INFO", static_variable_buf, &variable_len) #else -- cgit v1.2.1