Ticket #9272: admin_site_root.diff

File admin_site_root.diff, 467 bytes (added by anonymous, 16 years ago)
  • sites.py

    old new  
    128128            self.check_dependencies()
    129129
    130130        # Figure out the admin base URL path and stash it for later use
    131         self.root_path = re.sub(re.escape(url) + '$', '', request.path)
     131        self.root_path = re.sub(re.escape(url) + '$', '', request.path_info)
    132132
    133133        url = url.rstrip('/') # Trim trailing slash, if it exists.
    134134
Back to Top