diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-02-03 02:21:51 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-02-03 02:21:51 +0000 |
| commit | 8b29767f3f9d144a3e5cc8506db5acb25aa2d542 (patch) | |
| tree | a66baa934ed065ecab5b522ecb314fe6b568aa1a /django/utils | |
| parent | 8ce7d4740e88fe38a290aa12257204065393b5ba (diff) | |
Fixed #6301 -- Added '*' to the characters not converted by iri_to_uri(), as
pointed out by samidh.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/encoding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/encoding.py b/django/utils/encoding.py index 2ab0db7432..33bb37b0ea 100644 --- a/django/utils/encoding.py +++ b/django/utils/encoding.py @@ -98,5 +98,5 @@ def iri_to_uri(iri): # section 3.1 of RFC 3987. if iri is None: return iri - return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?') + return urllib.quote(smart_str(iri), safe='/#%[]=:;$&()+,!?*') |
