summaryrefslogtreecommitdiffstats
path: root/modules/arch/win32/mod_isapi.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2007-01-04 00:03:20 +0100
committerWilliam A. Rowe Jr <wrowe@apache.org>2007-01-04 00:03:20 +0100
commitcdfe83543d46452139c278d0aeeb28d8de024d81 (patch)
tree8a3f2817c5557141ae36b2f9f7221349e25e15d4 /modules/arch/win32/mod_isapi.c
parent Where any response is sent, return OK from the handler. Where there (diff)
downloadapache2-cdfe83543d46452139c278d0aeeb28d8de024d81.tar.xz
apache2-cdfe83543d46452139c278d0aeeb28d8de024d81.zip
Correctly evaluate the HTTPS condition string.
PR: 40573 Submitted by: Matt Eaton <asf divinehawk.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@492341 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/arch/win32/mod_isapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/arch/win32/mod_isapi.c b/modules/arch/win32/mod_isapi.c
index 87ff7a5cb7..bfc26aadd1 100644
--- a/modules/arch/win32/mod_isapi.c
+++ b/modules/arch/win32/mod_isapi.c
@@ -1453,7 +1453,7 @@ apr_status_t isapi_handler (request_rec *r)
ap_add_common_vars(r);
ap_add_cgi_vars(r);
apr_table_setn(e, "UNMAPPED_REMOTE_USER", "REMOTE_USER");
- if ((val = apr_table_get(e, "HTTPS")) && strcmp(val, "on"))
+ if ((val = apr_table_get(e, "HTTPS")) && (strcmp(val, "on") == 0))
apr_table_setn(e, "SERVER_PORT_SECURE", "1");
else
apr_table_setn(e, "SERVER_PORT_SECURE", "0");