Update oops-tools to not show google cached site as referred from local sites.

Bug #63009 reported by Diogo Matsubara
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Diogo Matsubara

Bug Description

The analyse-error-reports.py script currently checks if a page was referred from a local site by doing:

local_referer = ('launchpad.net' in referer or 'ubuntu.com' in referer)

But this causes the following problem when the referer is something like (google cached site):

http://72.14.235.104/search?q=cache:tnv3qOWtjyYJ:https://launchpad.net/distros/ubuntu/dapper

The report would then look like:

>26 NotFound: Object: <zope.app.publisher.browser.viewmeta.Resources object at
INSTANCE-ID>, name: u'user.gif'
> 0% from search bots, 96% referred from local sites
> 26 https://launchpad.net/@@/user.gif
> OOPS-270A381, OOPS-270A55, OOPS-270B11, OOPS-270B113, OOPS-270B17

When in fact those weren't referred from any launchpad.net or ubuntu.com site.

description: updated
Changed in launchpad:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.