X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/5908298aab6d12d1549960727f0e49fe17936fc8..e907efa7d02378ca6e4cbbcfacd25054faacf3bc:/forum/utils/pagination.py diff --git a/forum/utils/pagination.py b/forum/utils/pagination.py index a18bb32..67e2272 100644 --- a/forum/utils/pagination.py +++ b/forum/utils/pagination.py @@ -17,7 +17,7 @@ def generate_uri(querydict, exclude=None): for k, l in querydict.iterlists(): if (not exclude) or (not k in exclude): - all += ["%s=%s" % (k, escape(strip_tags(v))) for v in l] + all += ["%s=%s" % (k, escape(urlquote(strip_tags(v)))) for v in l] return "&".join(all)