+faq should return a 404 if the id is not an int
Bug #205997 reported by
Curtis Hovey
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Unassigned |
Bug Description
We received an OOPS for:
1 ValueError: invalid literal for int(): +logout
POST: 1 Robots: 0 Local: 1
1 https:/
OOPS-811C1357
The user was on an bad URL /before/ he tried to logout. It appears that he edited the URL hoping to see all the faqs. He then choose to logout, which caused the oops.
We need to catch the ValueError exceptions and return a NotFoundError instead.
Changed in launchpad: | |
milestone: | 1.2.3 → none |
Changed in launchpad-answers: | |
milestone: | none → 1.2.3 |
description: | updated |
Changed in launchpad: | |
assignee: | Curtis Hovey (sinzui) → nobody |
To post a comment you must log in.
kiko wants this RC-fixed. I will do the work.