Changeset - 29a5a16e3384
[Not reviewed]
default
0 1 0
Mads Kiilerich - 11 years ago 2014-10-02 23:49:16
madski@unity3d.com
middleware: fix typo in force_https backward compatibility code

Typo was introduced in 8e26c46e9abe.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/config/middleware.py
Show inline comments
 
@@ -89,13 +89,13 @@ def make_app(global_conf, full_stack=Tru
 
        if asbool(config['debug']):
 
            app = StatusCodeRedirect(app)
 
        else:
 
            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
 
    app = RegistryManager(app)
 

	
 
    if asbool(static_files):
0 comments (0 inline, 0 general)