# HG changeset patch # User Mads Kiilerich # Date 2014-10-02 23:49:16 # Node ID 29a5a16e33847b03388975879651092ae74144c7 # Parent 91fd320663cedc4409c661a7e69dc3412c055f98 middleware: fix typo in force_https backward compatibility code Typo was introduced in 8e26c46e9abe. diff --git a/kallithea/config/middleware.py b/kallithea/config/middleware.py --- a/kallithea/config/middleware.py +++ b/kallithea/config/middleware.py @@ -92,7 +92,7 @@ def make_app(global_conf, full_stack=Tru 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