~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/inventory_ui.py

  • Committer: Michael Hudson
  • Date: 2009-02-24 21:13:30 UTC
  • Revision ID: michael.hudson@canonical.com-20090224211330-4pkn8g30rtioqdoy
* make example Apache stanza more correct with how PasteDeploy works
  (you learn something every day!)
* make serve-branches more forgiving about the argument to --prefix

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
            if path == '':
75
75
                absolutepath = pathname
76
76
            else:
77
 
                absolutepath = path + '/' + pathname
 
77
                absolutepath = urllib.quote(path + '/' + pathname)
78
78
            revid = entry.revision
79
79
 
80
80
            file = util.Container(
113
113
        navigation = util.Container()
114
114
 
115
115
        if path is not None:
116
 
            path = path.rstrip('/')
117
116
            file_id = rev_tree.path2id(path)
118
117
            if file_id is None:
119
118
                raise HTTPNotFound()