Ticket #10678: rick.diff
File rick.diff, 708 bytes (added by , 16 years ago) |
---|
-
core/handlers/modpython.py
class ModPythonRequest(http.HttpRequest) 21 21 # below. For now, don't use script names that will be subject to 22 22 # encoding/decoding. 23 23 self.path = force_unicode(req.uri) 24 root = req.get_options().get('django.root', '') 24 root = req.get_options().get('django.root', '').rstrip('/') 25 25 self.django_root = root 26 26 # req.path_info isn't necessarily computed correctly in all 27 27 # circumstances (it's out of mod_python's control a bit), so we use