release: merge back stable branch into default
This commit is contained in:
commit
99bc2e3eeb
4 changed files with 22 additions and 3 deletions
16
docs/release-notes/release-notes-4.1.2.rst
Normal file
16
docs/release-notes/release-notes-4.1.2.rst
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|RCE| 4.1.2 |RNS|
|
||||
-----------------
|
||||
|
||||
Release Date
|
||||
^^^^^^^^^^^^
|
||||
|
||||
- 2016-06-16
|
||||
|
||||
Fixes
|
||||
^^^^^
|
||||
|
||||
- ssl: fixed http middleware so it works correctly with pyramid views. This
|
||||
fixed http -> https redirection problems on login.
|
||||
|
||||
- ldap: fixed ldap usergroup authentication plugin so after upgrade it's
|
||||
possible to change the settings again (EE only).
|
||||
|
|
@ -9,6 +9,7 @@ Release Notes
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
release-notes-4.1.2.rst
|
||||
release-notes-4.1.1.rst
|
||||
release-notes-4.1.0.rst
|
||||
release-notes-4.0.1.rst
|
||||
|
|
|
|||
|
|
@ -99,9 +99,6 @@ def make_app(global_conf, full_stack=True, static_files=True, **app_conf):
|
|||
# need any pylons stack middleware in them
|
||||
app = VCSMiddleware(app, config, appenlight_client)
|
||||
|
||||
# enable https redirects based on HTTP_X_URL_SCHEME set by proxy
|
||||
app = HttpsFixup(app, config)
|
||||
|
||||
# Establish the Registry for this application
|
||||
app = RegistryManager(app)
|
||||
|
||||
|
|
@ -321,7 +318,11 @@ def wrap_app_in_wsgi_middlewares(pyramid_app, config):
|
|||
"""
|
||||
settings = config.registry.settings
|
||||
|
||||
# enable https redirects based on HTTP_X_URL_SCHEME set by proxy
|
||||
pyramid_app = HttpsFixup(pyramid_app, settings)
|
||||
|
||||
# Add RoutesMiddleware to support the pylons compatibility tween during
|
||||
|
||||
# migration to pyramid.
|
||||
pyramid_app = RoutesMiddleware(
|
||||
pyramid_app, config.registry._pylons_compat_config['routes.map'])
|
||||
|
|
|
|||
|
|
@ -154,6 +154,7 @@ class LoginView(object):
|
|||
self.session,
|
||||
username=form_result['username'],
|
||||
remember=form_result['remember'])
|
||||
log.debug('Redirecting to "%s" after login.', came_from)
|
||||
raise HTTPFound(came_from, headers=headers)
|
||||
except formencode.Invalid as errors:
|
||||
defaults = errors.value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue