~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/download_ui.py

  • Committer: Matt Nordhoff
  • Date: 2010-05-05 19:03:40 UTC
  • Revision ID: mnordhoff@mattnordhoff.com-20100505190340-szon1h02xlwn6dzl
Fix bad redirect when visiting "/download" or "/download/". (#247992)

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
        if len(args) < 2:
47
47
            raise httpexceptions.HTTPMovedPermanently(
48
 
                self._branch.absolute_url('../changes'))
 
48
                self._branch.absolute_url('/changes'))
49
49
 
50
50
        revid = h.fix_revid(args[0])
51
51
        file_id = args[1]