OOPS when accessing launchpad with no referrer, eg. via wget
Bug #553361 reported by
Ursula Junque
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Diogo Matsubara |
Bug Description
As seen in OOPS-1551O2750:
NoReferrerError: No value for REFERER header
<sinzui> Ursinha, someone using wget is trying to automate launchpad. He is not passing a referer so we do not trust him
<sinzui> Ursinha, gary_poster know the issue well. The user should be using API
<gary_poster> Ursinha: yes, that should not be an OOPS
Related branches
lp:~matsubara/launchpad/bug-553361-no-referrer
- Francis J. Lacoste (community): Approve (release-critical)
- Brad Crittenden (community): Approve (code)
- Gary Poster: Pending requested
-
Diff: 51 lines (+21/-2)2 files modifiedlib/canonical/launchpad/webapp/errorlog.py (+1/-1)
lib/canonical/launchpad/webapp/tests/test_errorlog.py (+20/-1)
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 10.04 |
Changed in launchpad-foundations: | |
status: | Triaged → In Progress |
assignee: | nobody → Diogo Matsubara (matsubara) |
milestone: | none → 10.04 |
Changed in launchpad-foundations: | |
status: | In Progress → Fix Committed |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Note: this causes about 2000 oopses a day on lpnet; not serious but annoying.