Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.9.0] Fixes #3772, allows Authorization header to pass #3781

Merged
merged 2 commits into from
Sep 4, 2018

Conversation

emkll
Copy link
Contributor

@emkll emkll commented Sep 4, 2018

Status

Ready for review

Description of Changes

Backports #3774 to the 0.9 release branch

Changes proposed in this pull request:

Testing

Changes should be identical to #3774

kushaldas and others added 2 commits September 4, 2018 15:50
If deploying to Apache using mod_wsgi, the authorization header is not passed
through to a WSGI application by default, as it is assumed that
authentication will be handled by Apache, rather than at an application
level.

See http://www.django-rest-framework.org/api-guide/authentication/#apache-mod_wsgi-specific-configuration
for more details.

(cherry picked from commit 2aecf1c)
In order to ensure config updates during scheduled nightly upgrades for
0.9.0, we must patch the Apache config in-place. The approach uses an
in-place substitution on the journalist vhost config file, checking
first for the presence of the line, and skipping the substitution is
it's already found.

(cherry picked from commit f3e81ca)
@redshiftzero redshiftzero self-requested a review September 4, 2018 19:59
@emkll emkll merged commit 413f221 into release/0.9 Sep 4, 2018
@emkll emkll deleted the backport-3774-to-0.9 branch September 4, 2018 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants