Author: fw Date: 2005-10-20 13:47:06 +0000 (Thu, 20 Oct 2005) New Revision: 2511 Modified: bin/tracker_service.py Log: bin/tracker_service.py (TrackerService.page_bug): For redirect URLs, normalize CAN-* to CVE-*. Modified: bin/tracker_service.py ==================================================================--- bin/tracker_service.py 2005-10-20 13:36:34 UTC (rev 2510) +++ bin/tracker_service.py 2005-10-20 13:47:06 UTC (rev 2511) @@ -203,6 +203,11 @@ return self.page_not_found(url, obj) def page_bug(self, url, name, redirect): + # FIXME: Normalize CAN-* to CVE-* when redirecting. Too many + # people still use CAN. + if redirect and name[0:4] == ''CAN-'': + name = ''CVE-'' + name[4:] + cursor = self.db.cursor() try: bug = bugs.BugFromDB(cursor, name)