changeset 923:7e9c80b515af

fixed middleware for new https fixup
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 06 Jan 2011 19:28:20 +0100
parents b2a70582bce3
children c6c97b7bc0da
files rhodecode/config/middleware.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/config/middleware.py	Thu Jan 06 19:26:46 2011 +0100
+++ b/rhodecode/config/middleware.py	Thu Jan 06 19:28:20 2011 +0100
@@ -59,7 +59,7 @@
             app = StatusCodeRedirect(app, [400, 401, 403, 404, 500])
 
     #enable https redirets based on HTTP_X_URL_SCHEME set by proxy
-    app = HttpsFixup(app)
+    app = HttpsFixup(app, config)
 
     # Establish the Registry for this application
     app = RegistryManager(app)