Merge lp:~julian-edwards/maas/1.5-clickjacking into lp:maas/1.5

Proposed by Julian Edwards on 2014-05-05
Status: Merged
Approved by: Julian Edwards on 2014-05-05
Approved revision: 2263
Merged at revision: 2263
Proposed branch: lp:~julian-edwards/maas/1.5-clickjacking
Merge into: lp:maas/1.5
Diff against target: 11 lines (+1/-0)
1 file modified
src/maas/settings.py (+1/-0)
To merge this branch: bzr merge lp:~julian-edwards/maas/1.5-clickjacking
Reviewer Review Type Date Requested Status
Julian Edwards (community) Approve on 2014-05-05
Review via email: mp+218252@code.launchpad.net

Commit message

backport trunk r2299: Enable Django's clickjacking protection.

To post a comment you must log in.
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/maas/settings.py'
2--- src/maas/settings.py 2014-02-14 12:12:28 +0000
3+++ src/maas/settings.py 2014-05-05 07:46:33 +0000
4@@ -249,6 +249,7 @@
5 'maasserver.middleware.ExternalComponentsMiddleware',
6 'metadataserver.middleware.MetadataErrorsMiddleware',
7 'django.middleware.transaction.TransactionMiddleware',
8+ 'django.middleware.clickjacking.XFrameOptionsMiddleware',
9 'django.middleware.csrf.CsrfViewMiddleware',
10 'maasserver.middleware.ExceptionLoggerMiddleware',
11 'django.contrib.auth.middleware.AuthenticationMiddleware',

Subscribers

People subscribed via source and target branches

to all changes: