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

« back to all changes in this revision

Viewing changes to ivle/fileservice_lib/listing.py

  • Committer: Matt Giuca
  • Date: 2010-02-18 08:13:32 UTC
  • Revision ID: matt.giuca@gmail.com-20100218081332-2tw8i5sa5j3lxtlb
fileservice_lib.listing: Deleted a stupid line which took a path, treated it as a URL, and took the path segment out. This fixes launchpad bug #523654 -- files with # in their name, and presumably other characters, can't open a dir listing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
148
148
 
149
149
    # FIXME: What to do about req.path == ""?
150
150
    # Currently goes to 403 Forbidden.
151
 
    urlpath = urlparse.urlparse(path)
152
 
    path = urlpath[2]
153
151
    json = None
154
152
    if path is None:
155
153
        req.status = req.HTTP_FORBIDDEN