diff options
author | foobar <sniper@php.net> | 2003-03-07 18:56:15 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-03-07 18:56:15 +0000 |
commit | aa95498acd9ba441708eb5d94d5fdac1261d4374 (patch) | |
tree | a7dad52d1887526bb09902e5f06e860aba685187 /sapi/isapi | |
parent | 75c9eb4d781f04e1ba6d36c77862df9f97fc844a (diff) | |
download | php-git-aa95498acd9ba441708eb5d94d5fdac1261d4374.tar.gz |
Fixed bug #22473 (ISAPI Secure Server Variables not available)
Diffstat (limited to 'sapi/isapi')
-rw-r--r-- | sapi/isapi/php4isapi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sapi/isapi/php4isapi.c b/sapi/isapi/php4isapi.c index 71090bcc5e..36eaed7bc5 100644 --- a/sapi/isapi/php4isapi.c +++ b/sapi/isapi/php4isapi.c @@ -597,7 +597,9 @@ static void sapi_isapi_register_server_variables(zval *track_vars_array TSRMLS_D sapi_isapi_register_server_variables2(isapi_server_variable_names, lpECB, track_vars_array, NULL TSRMLS_CC); if (isapi_special_server_variables[SPECIAL_VAR_HTTPS] - && atoi(isapi_special_server_variables[SPECIAL_VAR_HTTPS])) { + && (atoi(isapi_special_server_variables[SPECIAL_VAR_HTTPS]) + || !strcasecmp(isapi_special_server_variables[SPECIAL_VAR_HTTPS], "on")) + ) { /* Register SSL ISAPI variables */ sapi_isapi_register_server_variables2(isapi_secure_server_variable_names, lpECB, track_vars_array, NULL TSRMLS_CC); } |