missing program, agency or category dumps stack should 404 page not found

Bug #391894 reported by Dan MacNeil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MVHub
Confirmed
Low
Unassigned

Bug Description

If a user (usually a spider) accesses an agency,program or category id
wthat doesn't exit, the application dumps stack sends at admin email.

ie:
[...]
Assertion failed at line 321 of Guide.pm : Got no programs for category
803223; expected at least one.
[...]

We should write a method in the base class to return the http headers
for 404 "page not found"

This will reduce clutter in admin email boxes and give spiders and
crackers the feedback they need to stop checking pages that don't exist.

This bug might relate to a more general routine to handle bad URLs
for example Malware trying SQL injection

Tags: gsoc
Mansi (mansi)
Changed in mvhub:
status: New → Confirmed
Dan MacNeil (omacneil)
Changed in mvhub:
importance: Undecided → Low
Dan MacNeil (omacneil)
description: updated
description: updated
tags: added: gsoc
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.