Merge lp:~adeuring/launchpad/bug-550973 into lp:launchpad

Proposed by Abel Deuring
Status: Merged
Approved by: Deryck Hodge
Approved revision: no longer in the source branch.
Merged at revision: not available
Proposed branch: lp:~adeuring/launchpad/bug-550973
Merge into: lp:launchpad
Diff against target: 16 lines (+6/-0)
1 file modified
lib/canonical/launchpad/webapp/publication.py (+6/-0)
To merge this branch: bzr merge lp:~adeuring/launchpad/bug-550973
Reviewer Review Type Date Requested Status
Gary Poster (community) Approve
Deryck Hodge (community) code Approve
Review via email: mp+23222@code.launchpad.net

Description of the change

This branch just adds a comment why we don't require a referer header for POSTs to /+hwdb/+submit. See bug 550973

To post a comment you must log in.
Revision history for this message
Deryck Hodge (deryck) wrote :

I hope Gary won't mind, but I want to step in and review here. I believe I understand what he's looking for in terms of a comment, and we need to move this branch forward on our kanban board.

With that in mind, this looks good to me and I'm marking it approved.

review: Approve (code)
Revision history for this message
Gary Poster (gary) wrote :

Looks good, and sorry for not getting to it sooner.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/canonical/launchpad/webapp/publication.py'
2--- lib/canonical/launchpad/webapp/publication.py 2010-04-08 10:43:26 +0000
3+++ lib/canonical/launchpad/webapp/publication.py 2010-04-12 11:03:27 +0000
4@@ -343,6 +343,12 @@
5 # +request-token and +access-token without providing a
6 # Referer.
7 #
8+ # XXX Abel Deuring 2010-04-09 bug=550973
9+ # The HWDB client "checkbox" accesses /+hwdb/+submit without
10+ # a referer. This will change in the version in Ubuntu 10.04,
11+ # but Launchpad should support HWDB submissions from older
12+ # Ubuntu versions during their support period.
13+ #
14 # We'll have to keep an application's one-off exception
15 # until the application has been changed to send a
16 # Referer, and until we have no legacy versions of that