diff --git a/django/utils/html.py b/django/utils/html.py
index 7fda015..459bf54 100644
a
|
b
|
def urlize(text, trim_url_limit=None, nofollow=False, autoescape=False):
|
129 | 129 | # Make URL we want to point to. |
130 | 130 | url = None |
131 | 131 | if middle.startswith('http://') or middle.startswith('https://'): |
132 | | url = urlquote(middle, safe='/&=:;#?+*') |
| 132 | url = urlquote(middle, safe='/&=:;#?+*%') |
133 | 133 | elif middle.startswith('www.') or ('@' not in middle and \ |
134 | 134 | middle and middle[0] in string.ascii_letters + string.digits and \ |
135 | 135 | (middle.endswith('.org') or middle.endswith('.net') or middle.endswith('.com'))): |
136 | | url = urlquote('http://%s' % middle, safe='/&=:;#?+*') |
| 136 | url = urlquote('http://%s' % middle, safe='/&=:;#?+*%') |
137 | 137 | elif '@' in middle and not ':' in middle and simple_email_re.match(middle): |
138 | 138 | url = 'mailto:%s' % middle |
139 | 139 | nofollow_attr = '' |