changeset 4545:29a5a16e3384

middleware: fix typo in force_https backward compatibility code Typo was introduced in 8e26c46e9abe.
author Mads Kiilerich <madski@unity3d.com>
date Thu, 02 Oct 2014 23:49:16 +0200
parents 91fd320663ce
children 805ec49152c9
files kallithea/config/middleware.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/config/middleware.py	Thu Oct 02 23:49:16 2014 +0200
+++ b/kallithea/config/middleware.py	Thu Oct 02 23:49:16 2014 +0200
@@ -92,7 +92,7 @@
             app = StatusCodeRedirect(app, [400, 401, 403, 404, 500])
 
     #enable https redirets based on HTTP_X_URL_SCHEME set by proxy
-    if any(asbool(config.get(x)) for x in ['https_fixup', 'force_ssl', 'use_htsts']):
+    if any(asbool(config.get(x)) for x in ['https_fixup', 'force_https', 'use_htsts']):
         app = HttpsFixup(app, config)
 
     # Establish the Registry for this application