impossible length titles cause oopes
Bug #583623 reported by
Curtis Hovey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Unassigned |
Bug Description
OOPS-1601O1172 was caused when the user pasted an error log into the title field. The field should restrict the title to a rasonable length. 50 is more than enough to start the question.
OperationalError: target lists can have at most 1664 entries
Related branches
lp://qastaging/~sinzui/launchpad/question-title-0
- Edwin Grubbs (community): Approve (code)
-
Diff: 83 lines (+58/-1)2 files modifiedlib/lp/answers/browser/question.py (+5/-1)
lib/lp/answers/browser/tests/test_question.py (+53/-0)
description: | updated |
Changed in launchpad-answers: | |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
milestone: | none → 10.09 |
Changed in launchpad-answers: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-answers: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
assignee: | Curtis Hovey (sinzui) → nobody |
To post a comment you must log in.
My gut feeling tells me it's not enough, and the data below seems to confirm.