summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-05-19 00:17:23 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-05-19 00:17:23 +0000
commit3d74a68a5108b49ccca20482d1fde88e4f3cbdfd (patch)
tree29a11bf542b57362bd07b946baa0eb2e12414a2a /tests
parent68a0f4f51b209c9daa2dc6ff31690c273979282c (diff)
unicode: Fixed iri_to_uri() to be not quite as broken (I think it's spec
compliant now). Removed use of iri_to_uri() in the urlencode filter and made a new iriencode filter, because IRI->URI conversionis are not a superset of URL quoting converstions. git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rw-r--r--tests/regressiontests/defaultfilters/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/defaultfilters/tests.py b/tests/regressiontests/defaultfilters/tests.py
index 2e6c565eb7..fb35448edb 100644
--- a/tests/regressiontests/defaultfilters/tests.py
+++ b/tests/regressiontests/defaultfilters/tests.py
@@ -115,7 +115,7 @@ u'\xcb'
u'jack%20%26%20jill'
>>> urlencode(1)
u'1'
->>> urlencode(u'S\xf8r-Tr\xf8ndelag')
+>>> iriencode(u'S\xf8r-Tr\xf8ndelag')
u'S%C3%B8r-Tr%C3%B8ndelag'
>>> urlizetrunc(u'http://short.com/', 20)