~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/dispatch/request.py

  • Committer: dcoles
  • Date: 2008-04-04 04:24:14 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:723
request: Ensure that the req.path is correct in public mode (should be 
identical to normal mode - ie. without ivle prefix and application)

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
        path = common.util.unmake_path(req.uri)
181
181
        if self.publicmode:
182
182
            self.app = None
183
 
            self.path = path
 
183
            (_, self.path) = (common.util.split_path(path))
184
184
        else:
185
185
            (self.app, self.path) = (common.util.split_path(path))
186
186
        self.user = None