Changeset 8ac7c0d in mod_gnutls for configure.ac


Ignore:
Timestamp:
Feb 11, 2016, 2:48:07 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
a038290
Parents:
7aeabcb
git-author:
Thomas Klute <thomas2.klute@…> (02/11/16 14:21:17)
git-committer:
Thomas Klute <thomas2.klute@…> (02/11/16 14:48:07)
Message:

Register "ssl_is_https" function for compatibility with mod_rewrite

mod_rewrite calls this function to fill its %{HTTPS} special variable,
and not providing it meant that conditions like

RewriteCond? "%{HTTPS}" "off"

would match HTTPS connections using mod_gnutls. When used to redirect
clients from HTTP to HTTPS connections, this could lead to redirection
loops as reported in Debian bug #514005 [1]. In addition to
registering the function this commit also adds a test chase that
checks if an HTTP to HTTPS redirection works.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r7aeabcb r8ac7c0d  
    191191Listen ${i}:\${TEST_PORT}"
    192192done
     193dnl HTTP ports, only active if TEST_HTTP_PORT is defined
     194LISTEN_LIST="${LISTEN_LIST}
     195<IfDefine TEST_HTTP_PORT>"
     196for i in ${TEST_IP}; do
     197        LISTEN_LIST="${LISTEN_LIST}
     198        Listen ${i}:\${TEST_HTTP_PORT}"
     199done
     200LISTEN_LIST="${LISTEN_LIST}
     201</IfDefine>"
    193202AC_SUBST(LISTEN_LIST)
    194203AM_SUBST_NOTMAKE(LISTEN_LIST)
Note: See TracChangeset for help on using the changeset viewer.