OOPS searching because % is not quoted
Bug #476833 reported by
Diogo Matsubara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
High
|
Brad Crittenden |
Bug Description
As seen in OOPS-1406H1587 an IndexError: tuple index out of range is raised when the search term for project groups is a %
Steps to reproduce:
1. Open https:/
2. Fill in search project groups a percentage sign: %
3. Click Search project groups
4. OOPS-1406H1587 IndexError: tuple index out of range
Another example, OOPS-1600B1922 with a different exception: ProgrammingError: argument formats can't be mixed
Related branches
lp://qastaging/~bac/launchpad/bug-476833
- Curtis Hovey (community): Approve (code)
-
Diff: 356 lines (+168/-41)7 files modifiedlib/lp/registry/browser/project.py (+17/-19)
lib/lp/registry/interfaces/project.py (+3/-4)
lib/lp/registry/model/project.py (+11/-7)
lib/lp/registry/stories/product/xx-launchpad-project-search.txt (+24/-3)
lib/lp/registry/templates/products-index.pt (+1/-1)
lib/lp/registry/templates/projects-index.pt (+8/-7)
lib/lp/registry/tests/test_project.py (+104/-0)
Changed in launchpad-registry: | |
milestone: | none → 3.1.11 |
status: | New → Triaged |
importance: | Undecided → High |
Changed in launchpad-registry: | |
assignee: | nobody → Curtis Hovey (sinzui) |
Changed in launchpad-registry: | |
assignee: | Curtis Hovey (sinzui) → Brad Crittenden (bac) |
Changed in launchpad-registry: | |
status: | Triaged → In Progress |
Changed in launchpad-registry: | |
status: | In Progress → Fix Committed |
Changed in launchpad-registry: | |
status: | Fix Committed → Fix Released |
description: | updated |
Changed in rosetta: | |
status: | New → Invalid |
Changed in launchpad-answers: | |
status: | Triaged → Invalid |
To post a comment you must log in.
The oops that affect blueprints, bugs, and answers are from spammers that started their daily attacked in November of 2009. One proposed fix is to not report oopses caused by bots/windowsnt since we know they are not users.