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
=== modified file 'lib/canonical/launchpad/webapp/publication.py'
--- lib/canonical/launchpad/webapp/publication.py 2010-04-08 10:43:26 +0000
+++ lib/canonical/launchpad/webapp/publication.py 2010-04-12 11:03:27 +0000
@@ -343,6 +343,12 @@
343 # +request-token and +access-token without providing a343 # +request-token and +access-token without providing a
344 # Referer.344 # Referer.
345 #345 #
346 # XXX Abel Deuring 2010-04-09 bug=550973
347 # The HWDB client "checkbox" accesses /+hwdb/+submit without
348 # a referer. This will change in the version in Ubuntu 10.04,
349 # but Launchpad should support HWDB submissions from older
350 # Ubuntu versions during their support period.
351 #
346 # We'll have to keep an application's one-off exception352 # We'll have to keep an application's one-off exception
347 # until the application has been changed to send a353 # until the application has been changed to send a
348 # Referer, and until we have no legacy versions of that354 # Referer, and until we have no legacy versions of that