Attempting traversal past an unknown object causes an OOPS

Bug #322792 reported by Brad Crittenden
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Undecided
Guilherme Salgado

Bug Description

OOPS-1125A165 occurred when a googlebot tried to access a non-existent feeds URL that included the user project "people-project" in the path.

The same issue was demonstrated using the webapp resulting in OOPS-1125EA124.

Traversal to a malformed URL of the form https://edge.launchpad.net/~bac/people-project properly results in a 404.
Trying to traverse beyond results in an OOPS, e.g. https://edge.launchpad.net/~bac/people-project/foo , where "foo" can be anything.

Note that substituting any other string for 'people-project' properly results in 404 not an OOPS.

Tags: lp-code
Revision history for this message
Guilherme Salgado (salgado) wrote :

This happens if you try to traverse to a branch on a project group. BranchNamespaceSet.traverse() will think you're trying to traverse to a branch on a distroseries and will then crash.

Changed in launchpad-foundations:
assignee: nobody → salgado
milestone: none → 2.2.1
status: New → Confirmed
Changed in launchpad-foundations:
milestone: 2.2.1 → none
Changed in launchpad-bazaar:
milestone: none → 2.2.1
Revision history for this message
Guilherme Salgado (salgado) wrote :

mainline r7674

Changed in launchpad-bazaar:
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.