summaryrefslogtreecommitdiff
path: root/django/core/handlers/modpython.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-10-13 02:57:57 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-10-13 02:57:57 +0000
commit8ae74eae556120d3be3d04dcbeabba3619c8cca3 (patch)
tree2200b34d74159f2a592654e63b5df85e9a1a2a41 /django/core/handlers/modpython.py
parentb053177555dc3f716f3ee3c4f0057a082254afb3 (diff)
Fixed #5738 -- Fixed bug with defective Unicode strings in a URL
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/handlers/modpython.py')
-rw-r--r--django/core/handlers/modpython.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/handlers/modpython.py b/django/core/handlers/modpython.py
index d4f5e55011..52419d9e6c 100644
--- a/django/core/handlers/modpython.py
+++ b/django/core/handlers/modpython.py
@@ -14,7 +14,7 @@ import os
class ModPythonRequest(http.HttpRequest):
def __init__(self, req):
self._req = req
- self.path = force_unicode(req.uri)
+ self.path = force_unicode(req.uri, errors='ignore')
def __repr__(self):
# Since this is called as part of error handling, we need to be very