Commit 9b96114b authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  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
parent 9bf06958
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/arch/win32/mod_isapi.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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");