Merge lp:~gary/launchpad/bug538236 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Deryck Hodge |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~gary/launchpad/bug538236 |
Merge into: | lp:launchpad |
Diff against target: |
194 lines (+79/-12) 6 files modified
lib/canonical/launchpad/pagetests/standalone/xx-offsite-form-post.txt (+32/-8) lib/canonical/launchpad/templates/launchpad-noreferrer.pt (+26/-0) lib/canonical/launchpad/webapp/error.py (+5/-0) lib/canonical/launchpad/webapp/interfaces.py (+4/-0) lib/canonical/launchpad/webapp/publication.py (+3/-4) lib/canonical/launchpad/zcml/launchpad.zcml (+9/-0) |
To merge this branch: | bzr merge lp:~gary/launchpad/bug538236 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gary Poster (community) | Abstain | ||
Deryck Hodge (community) | release-critical | Approve | |
Michael Nelson (community) | ui | Approve | |
Guilherme Salgado (community) | Approve | ||
Review via email: mp+22276@code.launchpad.net |
Commit message
add an exception and an exception view for the case of a browser not including a REFERER header.
Description of the change
This fixes bug 538236 by adding an exception and an exception view for the case of a browser not including a REFERER header.
Tests passed on EC2.
This needs a code and a ui review, and is also a release-critical candidate.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
lib/canonical
lib/canonical
lib/canonical
lib/canonical
lib/canonical
lib/canonical
== Pylint notices ==
lib/canonical/
16: [F0401] Unable to import 'lazr.batchnavi
17: [F0401] Unable to import 'lazr.enum' (No module named enum)
lib/canonical/
63: [F0401] Unable to import 'lazr.uri' (No module named uri)
This is a screenshot of the new error page, for UI review.
http:// launchpadlibrar ian.net/ 42379021/ Screen% 20shot% 202010- 03-29%20at% 209.26. 18%20AM. png