Ticket #10678: rick.diff

File rick.diff, 708 bytes (added by Rick Dean, 15 years ago)

patch to correct bad configurable values

  • core/handlers/modpython.py

    class ModPythonRequest(http.HttpRequest)  
    2121        # below. For now, don't use script names that will be subject to
    2222        # encoding/decoding.
    2323        self.path = force_unicode(req.uri)
    24         root = req.get_options().get('django.root', '')
     24        root = req.get_options().get('django.root', '').rstrip('/')
    2525        self.django_root = root
    2626        # req.path_info isn't necessarily computed correctly in all
    2727        # circumstances (it's out of mod_python's control a bit), so we use
Back to Top