Merge lp:~salgado/launchpad/vostok-no-external-redirect into lp:launchpad
Proposed by
Guilherme Salgado
Status: | Merged |
---|---|
Approved by: | Curtis Hovey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 11359 |
Proposed branch: | lp:~salgado/launchpad/vostok-no-external-redirect |
Merge into: | lp:launchpad |
Prerequisite: | lp:~salgado/launchpad/vostok-traverse-package |
Diff against target: |
80 lines (+44/-2) 2 files modified
lib/lp/vostok/publisher.py (+22/-1) lib/lp/vostok/tests/test_publisher.py (+22/-1) |
To merge this branch: | bzr merge lp:~salgado/launchpad/vostok-no-external-redirect |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+32623@code.launchpad.net |
Commit message
Add a safety net so that vostok doesn't redirect users to any host other than vostok.dev
Description of the change
Make sure vostok doesn't redirect users to any host other than vostok.dev
To post a comment you must log in.
We discussed some redirect scenarios on IRC. Changelogs and attachments are not an issue right now. If the librarian needs to be supported, we can add that. What is important is that redirects are locked down to host we trust.