Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(137)

Issue 6844058: Add HTTPS redirect and HSTS headers. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by iannucci
Modified:
13 years, 6 months ago
Reviewers:
cmp, palmer1, Isaac, M-A
CC:
guido
Visibility:
Public.

Description

Add HTTPS redirect and HSTS headers. Re: https://code.google.com/p/chromium/issues/detail?id=158522

Patch Set 1 #

Total comments: 4

Patch Set 2 : nit fixes #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Move middleware in file to match order in settings.py #

Patch Set 6 : Must return a response no matter what. Two spaces make all the difference :) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M codereview/middleware.py View 1 2 3 4 5 1 chunk +17 lines, -1 line 0 comments Download
M settings.py View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7
cmp
+palmer to cc https://codereview.appspot.com/6844058/diff/1/codereview/middleware.py File codereview/middleware.py (right): https://codereview.appspot.com/6844058/diff/1/codereview/middleware.py#newcode98 codereview/middleware.py:98: "max-age=%d" % settings.HSTS_MAX_AGE) double quotes to ...
13 years, 6 months ago (2012-11-16 18:20:52 UTC) #1
M-A
+guido, FYI. lgtm with cmp's nits. https://codereview.appspot.com/6844058/diff/1/settings.py File settings.py (right): https://codereview.appspot.com/6844058/diff/1/settings.py#newcode40 settings.py:40: 'codereview.middleware.AddHSTSHeaderMiddleware', I wonder ...
13 years, 6 months ago (2012-11-16 18:33:06 UTC) #2
iannucci
On 2012/11/16 18:33:06, M-A wrote: > +guido, FYI. > > lgtm with cmp's nits. > ...
13 years, 6 months ago (2012-11-16 19:05:08 UTC) #3
iannucci
On 2012/11/16 19:05:08, iannucci wrote: > On 2012/11/16 18:33:06, M-A wrote: > > +guido, FYI. ...
13 years, 6 months ago (2012-11-16 19:11:15 UTC) #4
palmer1
Thanks! LGTM.
13 years, 6 months ago (2012-11-16 19:14:13 UTC) #5
iannucci
m-a need another look :) Ok, I cleaned up a few things (check patchlog), and ...
13 years, 6 months ago (2012-11-20 01:43:59 UTC) #6
M-A
13 years, 6 months ago (2012-11-20 14:41:06 UTC) #7
committed
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b