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

« back to all changes in this revision

Viewing changes to ivle/webapp/base/rest.py

  • Committer: William Grant
  • Date: 2010-07-03 11:03:10 UTC
  • mto: This revision was merged to the branch mainline in revision 1797.
  • Revision ID: grantw@unimelb.edu.au-20100703110310-tz76n9kb367wua3r
Use req.unparsed_uri instead of req.uri -- req.uri doesn't contain the query string.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
 
76
76
        if req.method == 'GET':
77
77
            qargs = dict(cgi.parse_qsl(
78
 
                urlparse.urlparse(req.uri).query, keep_blank_values=1))
 
78
                urlparse.urlparse(req.unparsed_uri).query,
 
79
                keep_blank_values=1))
79
80
            if 'ivle.op' in qargs:
80
81
                outjson = self._named_operation(req, qargs, readonly=True)
81
82
            else: