Comment 0 for bug 205997

Revision history for this message
Curtis Hovey (sinzui) wrote : +faq should redirect to +faqs when the faq id is not an int

We received an OOPS for:

   1 ValueError: invalid literal for int(): +logout
    POST: 1 Robots: 0 Local: 1
       1 https://answers.launchpad.net/phpldapadmin/+faq/+logout
        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 should redirect to +faqs when the faq id cannot be converted to an int(). A notification should be displayed that the brwoser was redirected because a valid faq id was not provided.